#D97FE8

Closest named color: Lavender Pink (#DD85D7). oklch(73.1% 0.173 321.7), rgb(217, 127, 232).

Aa

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

About this color

#D97FE8 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.173 and its hue 322°. 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.15:1.

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

Values

HEX#D97FE8
RGBrgb(217, 127, 232)
HSLhsl(291, 70%, 70%)
OKLCHoklch(73.1% 0.173 321.7)

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 #D97FE8 2.57:1 Fails Lc -55.2 Large or bold text, headings
Black text on #D97FE8 8.15:1 AAA Lc 53.9 Large or bold text, headings
#D97FE8 text on white 2.57:1 Fails Lc 50.1 Large or bold text, headings
#D97FE8 text on black 8.15:1 AAA Lc -51.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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF1

    oklch(88.5% 0.059 321.6)

  4. Step 300

    300

    #E1A9EB

    oklch(80.8% 0.109 321.3)

  5. Step 400

    400 (this color)

    #D97FE8

    oklch(73.1% 0.173 321.7)

  6. Step 500

    500

    #C34DD7

    oklch(63% 0.221 321.6)

  7. Step 600

    600

    #AF24C4

    oklch(55.6% 0.241 321.8)

  8. Step 700

    700

    #9612A9

    oklch(49.1% 0.223 321.8)

  9. Step 800

    800

    #7A1689

    oklch(42.7% 0.185 321.9)

  10. Step 900

    900

    #621C6E

    oklch(37.6% 0.145 321.4)

  11. Step 950

    950

    #3A1340

    oklch(27% 0.091 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#D97FE8 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)#719BEC0.158
Deuteranopia (no green cones)#8AA5E50.142
Tritanopia (no blue cones)#DB8CA90.106
Achromatopsia (no color)#A1A1A10.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97FE8

    #D97FE8

    oklch(73.1% 0.173 321.7)

  • #61C256

    #61C256

    oklch(73.1% 0.173 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97FE8

    #D97FE8

    oklch(73.1% 0.173 321.7)

  • #AA94FF

    #AA94FF

    oklch(73% 0.152 291.6)

  • #F774B4

    #F774B4

    oklch(73.1% 0.174 351.7)

Open the analogous palette in the generator

Split complementary

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

  • #D97FE8

    #D97FE8

    oklch(73.1% 0.173 321.7)

  • #ACB100

    #ACB100

    oklch(73.2% 0.162 111.8)

  • #00C49D

    #00C49D

    oklch(73.1% 0.142 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97FE8

    #D97FE8

    oklch(73.1% 0.173 321.7)

  • #D79C00

    #D79C00

    oklch(73% 0.151 81.4)

  • #00BEC9

    #00BEC9

    oklch(73% 0.124 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97FE8

    #D97FE8

    oklch(73.1% 0.173 321.7)

  • #FA8329

    #FA8329

    oklch(73.1% 0.173 52)

  • #61C256

    #61C256

    oklch(73.1% 0.173 141.7)

  • #00B7F4

    #00B7F4

    oklch(73.1% 0.148 231.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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