#D998EE

Closest named color: Baby Purple (#CA9BF7). oklch(77.3% 0.137 317.7), rgb(217, 152, 238).

Aa

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

About this color

#D998EE is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.137 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.026 away. Black text reads best on it, at 9.67:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.67:1
White text2.17:1

Values

HEX#D998EE
RGBrgb(217, 152, 238)
HSLhsl(285, 72%, 76%)
OKLCHoklch(77.3% 0.137 317.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 #D998EE 2.17:1 Fails Lc -47.2 Large or bold text, headings
Black text on #D998EE 9.67:1 AAA Lc 61.4 Content text, not long reading
#D998EE text on white 2.17:1 Fails Lc 42.5 Non-text elements, placeholder text
#D998EE text on black 9.67:1 AAA Lc -59.7 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 300.

  1. Step 50

    50

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EECAFB

    oklch(88.5% 0.076 317)

  4. Step 300

    300 (this color)

    #D998EE

    oklch(77.3% 0.137 317.7)

  5. Step 400

    400

    #D76AF8

    oklch(70.8% 0.22 317.7)

  6. Step 500

    500

    #CA2CF4

    oklch(63.1% 0.281 317.6)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007E

    oklch(37.6% 0.183 317.6)

  11. Step 950

    950

    #3C094A

    oklch(27% 0.116 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#D998EE 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)#8CACF10.115
Deuteranopia (no green cones)#9CB2EB0.105
Tritanopia (no blue cones)#D9A3B80.091
Achromatopsia (no color)#B0B0B00.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D998EE

    #D998EE

    oklch(77.3% 0.137 317.7)

  • #89C971

    #89C971

    oklch(77.2% 0.136 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D998EE

    #D998EE

    oklch(77.3% 0.137 317.7)

  • #B1A8FF

    #B1A8FF

    oklch(77.2% 0.123 287.9)

  • #F48FC5

    #F48FC5

    oklch(77.2% 0.137 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #D998EE

    #D998EE

    oklch(77.3% 0.137 317.7)

  • #BEBB46

    #BEBB46

    oklch(77.2% 0.137 107.8)

  • #42D1A4

    #42D1A4

    oklch(77.4% 0.138 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D998EE

    #D998EE

    oklch(77.3% 0.137 317.7)

  • #E5A940

    #E5A940

    oklch(77.3% 0.137 77.8)

  • #00CED3

    #00CED3

    oklch(77.3% 0.131 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D998EE

    #D998EE

    oklch(77.3% 0.137 317.7)

  • #FB9864

    #FB9864

    oklch(77.2% 0.137 47.6)

  • #89C971

    #89C971

    oklch(77.2% 0.136 137.6)

  • #35C5F9

    #35C5F9

    oklch(77.2% 0.137 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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