#d87afa hex color

Hex color #d87afa graphic

violet

#d87afa RGB Percentages

Red
36.73%
Green
20.75%
Blue
42.52%

#d87afa CMYK Percentages

Cyan
14%
Magenta
51%
Yellow
0%
Key (Black)
2%

Color #d87afa Variations

Color #d87afa Harmonies

Analogous Colors

Colors that are next to each other on the color wheel

Complementary Colors

Colors that are opposite each other on the color wheel

Split Complementary

A color and two colors adjacent to its complement

Triadic Colors

Three colors equally spaced on the color wheel

Contrast Checks for #d87afa

On White Background

WCAG AA Fail (2.59)

Large Text Example

The quick brown fox jumps over the lazy dog.

Regular Text Example

This is an example of regular-sized text that would commonly appear in paragraphs and body content.

On Black Background

WCAG AA Pass (8.08)

Large Text Example

The quick brown fox jumps over the lazy dog.

Regular Text Example

This is an example of regular-sized text that would commonly appear in paragraphs and body content.

CSS Styles for #d87afa

Nearest Tailwind Color for #d87afa

Here's the nearest color to #d87afa in Tailwind's full color palette.

Tailwind color name:

Hex color code:

Tailwind's fuchsia-400 (#e879f9)

Your color #d87afa

CSS Code Examples for #d87afa

Basic CSS Classes for #d87afa

Background Color

Background Color Example

Text Color

This text shows the color #d87afa

Border Color

Border Color Example

CSS3 Effects for #d87afa

Text Shadow (RGB)

Text with RGB Shadow

Text Shadow (Hex)

Text with Hex Shadow

Box Shadow

Box with Shadow

HTML Examples for #d87afa

Inline Styles

This is a sample text showing how this color looks when used as a text color.

Combined Effects

Combined Styles Example

#d87afa Relaxed Palette