#D981EF

Closest named color: Violet (#EE82EE). oklch(73.7% 0.177 319.4), rgb(217, 129, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.177)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.33:1
White text2.51:1

Values

HEX#D981EF
RGBrgb(217, 129, 239)
HSLhsl(288, 77%, 72%)
OKLCHoklch(73.7% 0.177 319.4)

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 #D981EF 2.51:1 Fails Lc -54.2 Large or bold text, headings
Black text on #D981EF 8.33:1 AAA Lc 54.9 Large or bold text, headings
#D981EF text on white 2.51:1 Fails Lc 49.1 Large or bold text, headings
#D981EF text on black 8.33:1 AAA Lc -52.9 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EBCDF3

    oklch(88.5% 0.061 319.1)

  4. Step 300

    300

    #E0A9EE

    oklch(80.8% 0.112 319.3)

  5. Step 400

    400 (this color)

    #D981EF

    oklch(73.7% 0.177 319.4)

  6. Step 500

    500

    #C14DDD

    oklch(63.1% 0.226 319.3)

  7. Step 600

    600

    #AD23CA

    oklch(55.6% 0.245 319.6)

  8. Step 700

    700

    #940FAF

    oklch(49.1% 0.228 319.3)

  9. Step 800

    800

    #78158E

    oklch(42.7% 0.189 319.1)

  10. Step 900

    900

    #611C71

    oklch(37.6% 0.147 319.3)

  11. Step 950

    950

    #391342

    oklch(27% 0.092 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#D981EF 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)#6F9DF30.159
Deuteranopia (no green cones)#88A6EC0.142
Tritanopia (no blue cones)#DA90AD0.113
Achromatopsia (no color)#A3A3A30.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #D981EF

    #D981EF

    oklch(73.7% 0.177 319.4)

  • #68C34F

    #68C34F

    oklch(73.6% 0.177 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D981EF

    #D981EF

    oklch(73.7% 0.177 319.4)

  • #A899FF

    #A899FF

    oklch(73.7% 0.145 289.1)

  • #F875BB

    #F875BB

    oklch(73.6% 0.177 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #D981EF

    #D981EF

    oklch(73.7% 0.177 319.4)

  • #B2B100

    #B2B100

    oklch(73.7% 0.16 109.4)

  • #00C79A

    #00C79A

    oklch(73.7% 0.147 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D981EF

    #D981EF

    oklch(73.7% 0.177 319.4)

  • #DC9D00

    #DC9D00

    oklch(73.8% 0.153 79.8)

  • #00C1C8

    #00C1C8

    oklch(73.7% 0.125 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D981EF

    #D981EF

    oklch(73.7% 0.177 319.4)

  • #FF8230

    #FF8230

    oklch(73.7% 0.176 49.3)

  • #68C34F

    #68C34F

    oklch(73.6% 0.177 139.4)

  • #00BAF3

    #00BAF3

    oklch(73.8% 0.146 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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