#D098EF

Closest named color: Baby Purple (#CA9BF7). oklch(76.4% 0.134 312.9), rgb(208, 152, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.41:1
White text2.22:1

Values

HEX#D098EF
RGBrgb(208, 152, 239)
HSLhsl(279, 73%, 77%)
OKLCHoklch(76.4% 0.134 312.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 #D098EF 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #D098EF 9.41:1 AAA Lc 60.2 Content text, not long reading
#D098EF text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#D098EF text on black 9.41:1 AAA Lc -58.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F3E3FD

    oklch(93.6% 0.039 312.7)

  3. Step 200

    200

    #EBCBFD

    oklch(88.5% 0.076 313.3)

  4. Step 300

    300 (this color)

    #D098EF

    oklch(76.4% 0.134 312.9)

  5. Step 400

    400

    #CE6FFE

    oklch(70.7% 0.215 312.9)

  6. Step 500

    500

    #C138FB

    oklch(63.1% 0.274 313.1)

  7. Step 600

    600

    #A900E2

    oklch(55.6% 0.277 313)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #75009E

    oklch(42.6% 0.212 312.9)

  10. Step 900

    900

    #610A83

    oklch(37.7% 0.18 312.8)

  11. Step 950

    950

    #390C4C

    oklch(26.9% 0.113 313.4)

Export this scale for Tailwind in the Tailwind colors tool

#D098EF 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)#89ABF20.105
Deuteranopia (no green cones)#96AFEC0.097
Tritanopia (no blue cones)#CDA4B90.093
Achromatopsia (no color)#AEAEAE0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #D098EF

    #D098EF

    oklch(76.4% 0.134 312.9)

  • #90C468

    #90C468

    oklch(76.3% 0.134 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D098EF

    #D098EF

    oklch(76.4% 0.134 312.9)

  • #A7A8FF

    #A7A8FF

    oklch(76.5% 0.124 282.6)

  • #ED8EC9

    #ED8EC9

    oklch(76.4% 0.135 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #D098EF

    #D098EF

    oklch(76.4% 0.134 312.9)

  • #C2B543

    #C2B543

    oklch(76.3% 0.133 102.8)

  • #50CD99

    #50CD99

    oklch(76.5% 0.135 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D098EF

    #D098EF

    oklch(76.4% 0.134 312.9)

  • #E6A444

    #E6A444

    oklch(76.5% 0.135 73.2)

  • #00CCC9

    #00CCC9

    oklch(76.4% 0.131 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D098EF

    #D098EF

    oklch(76.4% 0.134 312.9)

  • #F9946A

    #F9946A

    oklch(76.4% 0.135 43)

  • #90C468

    #90C468

    oklch(76.3% 0.134 132.9)

  • #2AC4F0

    #2AC4F0

    oklch(76.4% 0.134 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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