#D198FE

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.152 308.9), rgb(209, 152, 254).

Aa

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

About this color

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

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

Values

HEX#D198FE
RGBrgb(209, 152, 254)
HSLhsl(274, 98%, 80%)
OKLCHoklch(77.2% 0.152 308.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 #D198FE 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #D198FE 9.63:1 AAA Lc 61.2 Content text, not long reading
#D198FE text on white 2.17:1 Fails Lc 42.7 Non-text elements, placeholder text
#D198FE text on black 9.63:1 AAA Lc -59.5 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

    #F2E3FF

    oklch(93.6% 0.041 309.5)

  3. Step 200

    200

    #E7CCFF

    oklch(88.4% 0.075 308.8)

  4. Step 300

    300 (this color)

    #D198FE

    oklch(77.2% 0.152 308.9)

  5. Step 400

    400

    #C575FF

    oklch(70.6% 0.205 308.8)

  6. Step 500

    500

    #B842FF

    oklch(63.1% 0.266 309)

  7. Step 600

    600

    #A300EC

    oklch(55.6% 0.283 308.9)

  8. Step 700

    700

    #8A00C8

    oklch(49.2% 0.25 309.1)

  9. Step 800

    800

    #7100A6

    oklch(42.7% 0.217 308.7)

  10. Step 900

    900

    #5F008C

    oklch(37.7% 0.192 308.9)

  11. Step 950

    950

    #390554

    oklch(27% 0.129 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#D198FE 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.115
Deuteranopia (no green cones)#90B0FB0.104
Tritanopia (no blue cones)#CBA7BF0.110
Achromatopsia (no color)#B0B0B00.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #D198FE

    #D198FE

    oklch(77.2% 0.152 308.9)

  • #96C756

    #96C756

    oklch(77.1% 0.152 129)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D198FE

    #D198FE

    oklch(77.2% 0.152 308.9)

  • #A4ADFF

    #A4ADFF

    oklch(77.2% 0.117 278.5)

  • #F38CD5

    #F38CD5

    oklch(77.2% 0.152 338.9)

Open the analogous palette in the generator

Split complementary

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

  • #D198FE

    #D198FE

    oklch(77.2% 0.152 308.9)

  • #CDB522

    #CDB522

    oklch(77.1% 0.152 99)

  • #47D291

    #47D291

    oklch(77.3% 0.152 159)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D198FE

    #D198FE

    oklch(77.2% 0.152 308.9)

  • #F3A132

    #F3A132

    oklch(77.3% 0.152 69.1)

  • #00CFC6

    #00CFC6

    oklch(77.1% 0.133 189.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D198FE

    #D198FE

    oklch(77.2% 0.152 308.9)

  • #FF9470

    #FF9470

    oklch(77.2% 0.139 39.3)

  • #96C756

    #96C756

    oklch(77.1% 0.152 129)

  • #00C9F1

    #00C9F1

    oklch(77.2% 0.14 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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