#D898EF

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.138 316.8), rgb(216, 152, 239).

Aa

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

About this color

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

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

Values

HEX#D898EF
RGBrgb(216, 152, 239)
HSLhsl(284, 73%, 77%)
OKLCHoklch(77.2% 0.138 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 #D898EF 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #D898EF 9.65:1 AAA Lc 61.3 Content text, not long reading
#D898EF text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#D898EF text on black 9.65:1 AAA Lc -59.6 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)

    #D898EF

    oklch(77.2% 0.138 316.8)

  5. Step 400

    400

    #D56AF9

    oklch(70.6% 0.22 316.8)

  6. Step 500

    500

    #C92CF6

    oklch(63.1% 0.282 316.9)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #660080

    oklch(37.8% 0.184 316.8)

  11. Step 950

    950

    #3C094B

    oklch(27.1% 0.117 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#D898EF 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)#8BACF20.114
Deuteranopia (no green cones)#9BB2EC0.105
Tritanopia (no blue cones)#D8A3B90.091
Achromatopsia (no color)#B0B0B00.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #D898EF

    #D898EF

    oklch(77.2% 0.138 316.8)

  • #8AC96F

    #8AC96F

    oklch(77.2% 0.138 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D898EF

    #D898EF

    oklch(77.2% 0.138 316.8)

  • #AFA8FF

    #AFA8FF

    oklch(77.1% 0.123 286.8)

  • #F48FC6

    #F48FC6

    oklch(77.2% 0.138 347)

Open the analogous palette in the generator

Split complementary

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

  • #D898EF

    #D898EF

    oklch(77.2% 0.138 316.8)

  • #BFBA44

    #BFBA44

    oklch(77.1% 0.138 106.9)

  • #44D0A2

    #44D0A2

    oklch(77.1% 0.137 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D898EF

    #D898EF

    oklch(77.2% 0.138 316.8)

  • #E6A83F

    #E6A83F

    oklch(77.2% 0.138 76.8)

  • #00CED1

    #00CED1

    oklch(77.2% 0.131 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D898EF

    #D898EF

    oklch(77.2% 0.138 316.8)

  • #FC9764

    #FC9764

    oklch(77.2% 0.138 46.8)

  • #8AC96F

    #8AC96F

    oklch(77.2% 0.138 136.9)

  • #31C6F8

    #31C6F8

    oklch(77.3% 0.137 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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