#DF87EC

Closest named color: Violet (#EE82EE). oklch(75.1% 0.167 322.3), rgb(223, 135, 236).

Aa

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

About this color

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

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

Values

HEX#DF87EC
RGBrgb(223, 135, 236)
HSLhsl(292, 73%, 73%)
OKLCHoklch(75.1% 0.167 322.3)

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 #DF87EC 2.38:1 Fails Lc -51.6 Large or bold text, headings
Black text on #DF87EC 8.81:1 AAA Lc 57.3 Large or bold text, headings
#DF87EC text on white 2.38:1 Fails Lc 46.7 Large or bold text, headings
#DF87EC text on black 8.81:1 AAA Lc -55.4 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #ECCDF0

    oklch(88.5% 0.058 322.4)

  4. Step 300

    300

    #E1AAE9

    oklch(80.9% 0.105 322.2)

  5. Step 400

    400 (this color)

    #DF87EC

    oklch(75.1% 0.167 322.3)

  6. Step 500

    500

    #C250D4

    oklch(63.1% 0.214 322)

  7. Step 600

    600

    #AE2AC1

    oklch(55.6% 0.233 322.2)

  8. Step 700

    700

    #9519A6

    oklch(49.1% 0.216 322.3)

  9. Step 800

    800

    #791A87

    oklch(42.7% 0.179 322.1)

  10. Step 900

    900

    #621F6C

    oklch(37.8% 0.139 322.2)

  11. Step 950

    950

    #3A143F

    oklch(27.1% 0.088 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#DF87EC 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)#7AA1F00.152
Deuteranopia (no green cones)#92ABE90.137
Tritanopia (no blue cones)#E293AE0.103
Achromatopsia (no color)#A8A8A80.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF87EC

    #DF87EC

    oklch(75.1% 0.167 322.3)

  • #69C861

    #69C861

    oklch(75.1% 0.167 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF87EC

    #DF87EC

    oklch(75.1% 0.167 322.3)

  • #B19CFF

    #B19CFF

    oklch(75% 0.141 292.4)

  • #FC7DB9

    #FC7DB9

    oklch(75.2% 0.167 352.2)

Open the analogous palette in the generator

Split complementary

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

  • #DF87EC

    #DF87EC

    oklch(75.1% 0.167 322.3)

  • #B1B800

    #B1B800

    oklch(75.2% 0.167 112.5)

  • #00CBA4

    #00CBA4

    oklch(75% 0.145 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF87EC

    #DF87EC

    oklch(75.1% 0.167 322.3)

  • #DEA300

    #DEA300

    oklch(75.1% 0.155 82.4)

  • #00C6D1

    #00C6D1

    oklch(75.2% 0.128 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF87EC

    #DF87EC

    oklch(75.1% 0.167 322.3)

  • #FF8B38

    #FF8B38

    oklch(75.1% 0.168 52.1)

  • #69C861

    #69C861

    oklch(75.1% 0.167 142.2)

  • #00BDFE

    #00BDFE

    oklch(75% 0.154 232.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #DF87EC 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.