#CD98EA

Closest named color: Baby Purple (#CA9BF7). oklch(75.9% 0.127 313.1), rgb(205, 152, 234).

Aa

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

About this color

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

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

Values

HEX#CD98EA
RGBrgb(205, 152, 234)
HSLhsl(279, 66%, 76%)
OKLCHoklch(75.9% 0.127 313.1)

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 #CD98EA 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #CD98EA 9.27:1 AAA Lc 59.4 Large or bold text, headings
#CD98EA text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#CD98EA text on black 9.27:1 AAA Lc -57.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F3E3FC

    oklch(93.6% 0.037 313.6)

  3. Step 200

    200

    #EACCFB

    oklch(88.5% 0.071 313.3)

  4. Step 300

    300 (this color)

    #CD98EA

    oklch(75.9% 0.127 313.1)

  5. Step 400

    400

    #CC73F9

    oklch(70.7% 0.204 313)

  6. Step 500

    500

    #BE41F5

    oklch(63.1% 0.26 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

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #60137F

    oklch(37.8% 0.169 313.3)

  11. Step 950

    950

    #380F4A

    oklch(27% 0.107 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD98EA 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)#8AA9ED0.099
Deuteranopia (no green cones)#96AEE80.092
Tritanopia (no blue cones)#CBA3B60.089
Achromatopsia (no color)#ACACAC0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD98EA

    #CD98EA

    oklch(75.9% 0.127 313.1)

  • #90C26C

    #90C26C

    oklch(75.9% 0.127 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD98EA

    #CD98EA

    oklch(75.9% 0.127 313.1)

  • #A6A5FF

    #A6A5FF

    oklch(75.8% 0.128 283.4)

  • #E88FC6

    #E88FC6

    oklch(75.8% 0.127 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #CD98EA

    #CD98EA

    oklch(75.9% 0.127 313.1)

  • #BFB44A

    #BFB44A

    oklch(75.9% 0.127 103.4)

  • #56CA9A

    #56CA9A

    oklch(75.9% 0.127 163.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD98EA

    #CD98EA

    oklch(75.9% 0.127 313.1)

  • #E1A34B

    #E1A34B

    oklch(75.8% 0.127 73.2)

  • #18CAC7

    #18CAC7

    oklch(76% 0.127 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD98EA

    #CD98EA

    oklch(75.9% 0.127 313.1)

  • #F4956D

    #F4956D

    oklch(76% 0.127 43.3)

  • #90C26C

    #90C26C

    oklch(75.9% 0.127 133.3)

  • #39C2EB

    #39C2EB

    oklch(75.9% 0.127 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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