#CD98E9

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.126 313.5), rgb(205, 152, 233).

Aa

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

About this color

#CD98E9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.126 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.020 away. Black text reads best on it, at 9.26:1.

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

Values

HEX#CD98E9
RGBrgb(205, 152, 233)
HSLhsl(279, 65%, 75%)
OKLCHoklch(75.8% 0.126 313.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 #CD98E9 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #CD98E9 9.26:1 AAA Lc 59.4 Large or bold text, headings
#CD98E9 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#CD98E9 text on black 9.26:1 AAA Lc -57.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F3E3FC

    oklch(93.6% 0.037 313.6)

  3. Step 200

    200

    #EACCFA

    oklch(88.5% 0.07 313.9)

  4. Step 300

    300 (this color)

    #CD98E9

    oklch(75.8% 0.126 313.5)

  5. Step 400

    400

    #CC73F7

    oklch(70.6% 0.201 313.5)

  6. Step 500

    500

    #BE42F4

    oklch(63.1% 0.258 313.2)

  7. Step 600

    600

    #AA00E1

    oklch(55.7% 0.276 313.5)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #60147E

    oklch(37.8% 0.168 313.6)

  11. Step 950

    950

    #380F4A

    oklch(27% 0.107 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD98E9 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)#8BA9EC0.098
Deuteranopia (no green cones)#97AEE70.091
Tritanopia (no blue cones)#CBA3B60.088
Achromatopsia (no color)#ACACAC0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD98E9

    #CD98E9

    oklch(75.8% 0.126 313.5)

  • #90C26D

    #90C26D

    oklch(75.9% 0.126 133.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD98E9

    #CD98E9

    oklch(75.8% 0.126 313.5)

  • #A6A5FE

    #A6A5FE

    oklch(75.8% 0.127 283.5)

  • #E88FC5

    #E88FC5

    oklch(75.8% 0.126 343.4)

Open the analogous palette in the generator

Split complementary

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

  • #CD98E9

    #CD98E9

    oklch(75.8% 0.126 313.5)

  • #BFB44B

    #BFB44B

    oklch(75.9% 0.126 103.3)

  • #57C99A

    #57C99A

    oklch(75.7% 0.125 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD98E9

    #CD98E9

    oklch(75.8% 0.126 313.5)

  • #E0A34C

    #E0A34C

    oklch(75.7% 0.126 73.4)

  • #1DC9C7

    #1DC9C7

    oklch(75.8% 0.126 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD98E9

    #CD98E9

    oklch(75.8% 0.126 313.5)

  • #F3956D

    #F3956D

    oklch(75.9% 0.126 43.5)

  • #90C26D

    #90C26D

    oklch(75.9% 0.126 133.5)

  • #3CC1EB

    #3CC1EB

    oklch(75.8% 0.126 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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