#D098FE

Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.152 308.5), rgb(208, 152, 254).

Aa

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

About this color

#D098FE is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.152 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.016 away. Black text reads best on it, at 9.60:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.152)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.60:1
White text2.18:1

Values

HEX#D098FE
RGBrgb(208, 152, 254)
HSLhsl(273, 98%, 80%)
OKLCHoklch(77.1% 0.152 308.5)

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 #D098FE 2.18:1 Fails Lc -47.6 Large or bold text, headings
Black text on #D098FE 9.60:1 AAA Lc 61.1 Content text, not long reading
#D098FE text on white 2.18:1 Fails Lc 42.9 Non-text elements, placeholder text
#D098FE text on black 9.60:1 AAA Lc -59.3 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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E7CDFF

    oklch(88.6% 0.073 308.4)

  4. Step 300

    300 (this color)

    #D098FE

    oklch(77.1% 0.152 308.5)

  5. Step 400

    400

    #C476FF

    oklch(70.6% 0.203 308.4)

  6. Step 500

    500

    #B744FF

    oklch(63.2% 0.263 308.6)

  7. Step 600

    600

    #A200ED

    oklch(55.6% 0.283 308.4)

  8. Step 700

    700

    #8900C9

    oklch(49.1% 0.25 308.5)

  9. Step 800

    800

    #7100A6

    oklch(42.7% 0.217 308.7)

  10. Step 900

    900

    #5E008C

    oklch(37.6% 0.192 308.4)

  11. Step 950

    950

    #380654

    oklch(27% 0.128 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#D098FE 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)#82ADFF0.113
Deuteranopia (no green cones)#8FB0FB0.104
Tritanopia (no blue cones)#CAA8BF0.111
Achromatopsia (no color)#AFAFAF0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #D098FE

    #D098FE

    oklch(77.1% 0.152 308.5)

  • #97C755

    #97C755

    oklch(77.2% 0.153 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D098FE

    #D098FE

    oklch(77.1% 0.152 308.5)

  • #A4ACFF

    #A4ACFF

    oklch(77% 0.119 279)

  • #F28CD5

    #F28CD5

    oklch(77.1% 0.152 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #D098FE

    #D098FE

    oklch(77.1% 0.152 308.5)

  • #CEB522

    #CEB522

    oklch(77.2% 0.152 98.6)

  • #49D190

    #49D190

    oklch(77.1% 0.151 158.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D098FE

    #D098FE

    oklch(77.1% 0.152 308.5)

  • #F3A033

    #F3A033

    oklch(77.1% 0.152 68.3)

  • #00CFC5

    #00CFC5

    oklch(77% 0.134 188.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D098FE

    #D098FE

    oklch(77.1% 0.152 308.5)

  • #FF9371

    #FF9371

    oklch(77.1% 0.139 38.2)

  • #97C755

    #97C755

    oklch(77.2% 0.153 128.6)

  • #00C9F0

    #00C9F0

    oklch(77.2% 0.139 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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