#D97EEF

Closest named color: Violet (#EE82EE). oklch(73.3% 0.182 319.6), rgb(217, 126, 239).

Aa

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

About this color

#D97EEF is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.182 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.038 away. Black text reads best on it, at 8.18:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.182)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.18:1
White text2.56:1

Values

HEX#D97EEF
RGBrgb(217, 126, 239)
HSLhsl(288, 78%, 72%)
OKLCHoklch(73.3% 0.182 319.6)

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 #D97EEF 2.56:1 Fails Lc -55.0 Large or bold text, headings
Black text on #D97EEF 8.18:1 AAA Lc 54.1 Large or bold text, headings
#D97EEF text on white 2.56:1 Fails Lc 49.9 Large or bold text, headings
#D97EEF text on black 8.18:1 AAA Lc -52.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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #ECCCF4

    oklch(88.4% 0.064 319.5)

  4. Step 300

    300

    #E1A9EF

    oklch(81% 0.113 319.5)

  5. Step 400

    400 (this color)

    #D97EEF

    oklch(73.3% 0.182 319.6)

  6. Step 500

    500

    #C34ADF

    oklch(63.2% 0.232 319.5)

  7. Step 600

    600

    #AE1CCC

    oklch(55.5% 0.252 319.5)

  8. Step 700

    700

    #9603B1

    oklch(49.2% 0.235 319.6)

  9. Step 800

    800

    #7A0F8F

    oklch(42.7% 0.195 319.8)

  10. Step 900

    900

    #621A72

    oklch(37.7% 0.151 319.6)

  11. Step 950

    950

    #3A1243

    oklch(27.1% 0.096 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#D97EEF 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)#6B9BF30.165
Deuteranopia (no green cones)#86A5EC0.147
Tritanopia (no blue cones)#DA8DAB0.116
Achromatopsia (no color)#A2A2A20.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97EEF

    #D97EEF

    oklch(73.3% 0.182 319.6)

  • #64C34B

    #64C34B

    oklch(73.3% 0.182 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97EEF

    #D97EEF

    oklch(73.3% 0.182 319.6)

  • #A797FF

    #A797FF

    oklch(73.3% 0.148 289.3)

  • #F972B9

    #F972B9

    oklch(73.3% 0.181 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #D97EEF

    #D97EEF

    oklch(73.3% 0.182 319.6)

  • #B0B000

    #B0B000

    oklch(73.3% 0.16 109.8)

  • #00C59A

    #00C59A

    oklch(73.2% 0.145 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97EEF

    #D97EEF

    oklch(73.3% 0.182 319.6)

  • #DA9B00

    #DA9B00

    oklch(73.1% 0.152 79.5)

  • #00BFC7

    #00BFC7

    oklch(73.1% 0.124 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97EEF

    #D97EEF

    oklch(73.3% 0.182 319.6)

  • #FF8028

    #FF8028

    oklch(73.3% 0.18 49.7)

  • #64C34B

    #64C34B

    oklch(73.3% 0.182 139.6)

  • #00B8F1

    #00B8F1

    oklch(73.2% 0.145 229.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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