#D97DF9

Closest named color: Violet (#EE82EE). oklch(73.6% 0.194 316.8), rgb(217, 125, 249).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.194)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.25:1
White text2.54:1

Values

HEX#D97DF9
RGBrgb(217, 125, 249)
HSLhsl(285, 91%, 73%)
OKLCHoklch(73.6% 0.194 316.8)

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 #D97DF9 2.54:1 Fails Lc -54.6 Large or bold text, headings
Black text on #D97DF9 8.25:1 AAA Lc 54.5 Large or bold text, headings
#D97DF9 text on white 2.54:1 Fails Lc 49.5 Large or bold text, headings
#D97DF9 text on black 8.25: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300

    #E0A8F5

    oklch(80.9% 0.121 316.6)

  5. Step 400

    400 (this color)

    #D97DF9

    oklch(73.6% 0.194 316.8)

  6. Step 500

    500

    #C244E9

    oklch(63.1% 0.247 316.9)

  7. Step 600

    600

    #AD06D7

    oklch(55.5% 0.268 316.7)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790297

    oklch(42.7% 0.207 316.9)

  10. Step 900

    900

    #621678

    oklch(37.8% 0.161 317.1)

  11. Step 950

    950

    #391046

    oklch(26.9% 0.101 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#D97DF9 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)#649CFD0.172
Deuteranopia (no green cones)#80A5F60.153
Tritanopia (no blue cones)#D88FB00.126
Achromatopsia (no color)#A2A2A20.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97DF9

    #D97DF9

    oklch(73.6% 0.194 316.8)

  • #69C438

    #69C438

    oklch(73.6% 0.194 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97DF9

    #D97DF9

    oklch(73.6% 0.194 316.8)

  • #A49AFF

    #A49AFF

    oklch(73.6% 0.144 286.8)

  • #FC6FC1

    #FC6FC1

    oklch(73.6% 0.193 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #D97DF9

    #D97DF9

    oklch(73.6% 0.194 316.8)

  • #B6AF00

    #B6AF00

    oklch(73.6% 0.158 106.8)

  • #00C795

    #00C795

    oklch(73.6% 0.151 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97DF9

    #D97DF9

    oklch(73.6% 0.194 316.8)

  • #DF9A00

    #DF9A00

    oklch(73.5% 0.154 76.7)

  • #00C1C4

    #00C1C4

    oklch(73.5% 0.125 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97DF9

    #D97DF9

    oklch(73.6% 0.194 316.8)

  • #FF813B

    #FF813B

    oklch(73.6% 0.174 46.7)

  • #69C438

    #69C438

    oklch(73.6% 0.194 136.8)

  • #00BAEE

    #00BAEE

    oklch(73.6% 0.142 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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