#DC87EF

Closest named color: Violet (#EE82EE). oklch(74.9% 0.169 320.1), rgb(220, 135, 239).

Aa

Black text reads best on this color (8.75:1).

About this color

#DC87EF is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.169 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.031 away. Black text reads best on it, at 8.75:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.169)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.75:1
White text2.39:1

Values

HEX#DC87EF
RGBrgb(220, 135, 239)
HSLhsl(289, 76%, 73%)
OKLCHoklch(74.9% 0.169 320.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #DC87EF 2.39:1 Fails Lc -51.9 Large or bold text, headings
Black text on #DC87EF 8.75:1 AAA Lc 57.0 Large or bold text, headings
#DC87EF text on white 2.39:1 Fails Lc 47.0 Large or bold text, headings
#DC87EF text on black 8.75:1 AAA Lc -55.1 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EBCDF2

    oklch(88.5% 0.059 319.8)

  4. Step 300

    300

    #DFAAEB

    oklch(80.8% 0.106 320)

  5. Step 400

    400 (this color)

    #DC87EF

    oklch(74.9% 0.169 320.1)

  6. Step 500

    500

    #C051D8

    oklch(63.1% 0.215 320.1)

  7. Step 600

    600

    #AB2BC5

    oklch(55.5% 0.234 320)

  8. Step 700

    700

    #931AAA

    oklch(49.1% 0.218 320.2)

  9. Step 800

    800

    #771B8A

    oklch(42.7% 0.18 319.9)

  10. Step 900

    900

    #601F6E

    oklch(37.6% 0.14 320)

  11. Step 950

    950

    #391441

    oklch(27.1% 0.089 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#DC87EF with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#78A1F30.150
Deuteranopia (no green cones)#8FAAEC0.135
Tritanopia (no blue cones)#DD94B00.106
Achromatopsia (no color)#A7A7A70.170

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #DC87EF

    #DC87EF

    oklch(74.9% 0.169 320.1)

  • #6EC75B

    #6EC75B

    oklch(75% 0.169 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC87EF

    #DC87EF

    oklch(74.9% 0.169 320.1)

  • #AD9DFF

    #AD9DFF

    oklch(74.9% 0.139 290.1)

  • #FA7CBC

    #FA7CBC

    oklch(74.9% 0.168 350.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #DC87EF

    #DC87EF

    oklch(74.9% 0.169 320.1)

  • #B5B600

    #B5B600

    oklch(75.1% 0.164 110.2)

  • #00CB9F

    #00CB9F

    oklch(74.9% 0.148 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC87EF

    #DC87EF

    oklch(74.9% 0.169 320.1)

  • #E0A100

    #E0A100

    oklch(75% 0.155 80.4)

  • #00C5CD

    #00C5CD

    oklch(74.8% 0.127 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC87EF

    #DC87EF

    oklch(74.9% 0.169 320.1)

  • #FF893E

    #FF893E

    oklch(74.8% 0.167 49.8)

  • #6EC75B

    #6EC75B

    oklch(75% 0.169 140.2)

  • #00BEF9

    #00BEF9

    oklch(75% 0.149 229.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #DC87EF, closest first.

No curated palette has a color within ΔE 0.04 of #DC87EF.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #DC87EF in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.