#D981EA

Closest named color: Lavender Pink (#DD85D7). oklch(73.5% 0.172 321), rgb(217, 129, 234).

Aa

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

About this color

#D981EA is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.172 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.033 away. Black text reads best on it, at 8.27:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.27:1
White text2.53:1

Values

HEX#D981EA
RGBrgb(217, 129, 234)
HSLhsl(290, 71%, 71%)
OKLCHoklch(73.5% 0.172 321)

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 #D981EA 2.53:1 Fails Lc -54.5 Large or bold text, headings
Black text on #D981EA 8.27:1 AAA Lc 54.6 Large or bold text, headings
#D981EA text on white 2.53:1 Fails Lc 49.4 Large or bold text, headings
#D981EA text on black 8.27:1 AAA Lc -52.5 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

    #F4E4F7

    oklch(93.7% 0.03 320.9)

  3. Step 200

    200

    #ECCDF2

    oklch(88.6% 0.06 320.8)

  4. Step 300

    300

    #E1AAEB

    oklch(81% 0.107 321.2)

  5. Step 400

    400 (this color)

    #D981EA

    oklch(73.5% 0.172 321)

  6. Step 500

    500

    #C24ED8

    oklch(63.1% 0.22 320.9)

  7. Step 600

    600

    #AD27C5

    oklch(55.5% 0.238 320.8)

  8. Step 700

    700

    #9515AA

    oklch(49.1% 0.222 321.1)

  9. Step 800

    800

    #79188A

    oklch(42.8% 0.184 321)

  10. Step 900

    900

    #621D6E

    oklch(37.7% 0.144 321.3)

  11. Step 950

    950

    #391341

    oklch(26.9% 0.091 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#D981EA 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)#729CEE0.156
Deuteranopia (no green cones)#8BA6E70.140
Tritanopia (no blue cones)#DB8EAB0.106
Achromatopsia (no color)#A3A3A30.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #D981EA

    #D981EA

    oklch(73.5% 0.172 321)

  • #65C356

    #65C356

    oklch(73.5% 0.172 141)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D981EA

    #D981EA

    oklch(73.5% 0.172 321)

  • #AA96FF

    #AA96FF

    oklch(73.4% 0.15 291)

  • #F776B6

    #F776B6

    oklch(73.5% 0.172 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #D981EA

    #D981EA

    oklch(73.5% 0.172 321)

  • #AEB100

    #AEB100

    oklch(73.3% 0.161 111)

  • #00C69D

    #00C69D

    oklch(73.6% 0.144 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D981EA

    #D981EA

    oklch(73.5% 0.172 321)

  • #D99D00

    #D99D00

    oklch(73.4% 0.152 81.1)

  • #00C0C9

    #00C0C9

    oklch(73.5% 0.125 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D981EA

    #D981EA

    oklch(73.5% 0.172 321)

  • #FB8430

    #FB8430

    oklch(73.4% 0.171 51.1)

  • #65C356

    #65C356

    oklch(73.5% 0.172 141)

  • #00B8F5

    #00B8F5

    oklch(73.4% 0.149 231.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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