#D898EC

Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.135 317.9), rgb(216, 152, 236).

Aa

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

About this color

#D898EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.135 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.62:1.

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

Values

HEX#D898EC
RGBrgb(216, 152, 236)
HSLhsl(286, 69%, 76%)
OKLCHoklch(77.1% 0.135 317.9)

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 #D898EC 2.18:1 Fails Lc -47.5 Large or bold text, headings
Black text on #D898EC 9.62:1 AAA Lc 61.2 Content text, not long reading
#D898EC text on white 2.18:1 Fails Lc 42.8 Non-text elements, placeholder text
#D898EC text on black 9.62:1 AAA Lc -59.4 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

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EECAFA

    oklch(88.5% 0.075 317.6)

  4. Step 300

    300 (this color)

    #D898EC

    oklch(77.1% 0.135 317.9)

  5. Step 400

    400

    #D66BF6

    oklch(70.7% 0.216 317.8)

  6. Step 500

    500

    #CA31F1

    oklch(63.2% 0.275 318.1)

  7. Step 600

    600

    #AF00D5

    oklch(55.5% 0.269 317.9)

  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

    #66047D

    oklch(37.7% 0.18 317.9)

  11. Step 950

    950

    #3C0A49

    oklch(27% 0.114 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#D898EC 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)#8CABEF0.113
Deuteranopia (no green cones)#9CB2E90.104
Tritanopia (no blue cones)#D8A2B70.088
Achromatopsia (no color)#AFAFAF0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #D898EC

    #D898EC

    oklch(77.1% 0.135 317.9)

  • #89C972

    #89C972

    oklch(77.2% 0.135 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D898EC

    #D898EC

    oklch(77.1% 0.135 317.9)

  • #B0A7FF

    #B0A7FF

    oklch(77% 0.124 287.8)

  • #F38FC4

    #F38FC4

    oklch(77.1% 0.136 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #D898EC

    #D898EC

    oklch(77.1% 0.135 317.9)

  • #BDBA49

    #BDBA49

    oklch(77% 0.134 107.7)

  • #45D0A4

    #45D0A4

    oklch(77.2% 0.135 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D898EC

    #D898EC

    oklch(77.1% 0.135 317.9)

  • #E3A942

    #E3A942

    oklch(77.1% 0.135 78.4)

  • #00CDD2

    #00CDD2

    oklch(77% 0.131 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D898EC

    #D898EC

    oklch(77.1% 0.135 317.9)

  • #F99865

    #F99865

    oklch(77% 0.134 47.7)

  • #89C972

    #89C972

    oklch(77.2% 0.135 137.8)

  • #3AC4F7

    #3AC4F7

    oklch(77% 0.135 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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