#CD98EC

Closest named color: Baby Purple (#CA9BF7). oklch(76% 0.129 312.4), rgb(205, 152, 236).

Aa

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

About this color

#CD98EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.129 and its hue 312°. 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.29:1.

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

Values

HEX#CD98EC
RGBrgb(205, 152, 236)
HSLhsl(278, 69%, 76%)
OKLCHoklch(76% 0.129 312.4)

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 #CD98EC 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #CD98EC 9.29:1 AAA Lc 59.6 Large or bold text, headings
#CD98EC text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#CD98EC text on black 9.29:1 AAA Lc -57.7 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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F3E3FC

    oklch(93.6% 0.037 313.6)

  3. Step 200

    200

    #EACCFC

    oklch(88.5% 0.072 312.8)

  4. Step 300

    300 (this color)

    #CD98EC

    oklch(76% 0.129 312.4)

  5. Step 400

    400

    #CC72FB

    oklch(70.7% 0.207 312.6)

  6. Step 500

    500

    #BE3FF8

    oklch(63.1% 0.264 312.5)

  7. Step 600

    600

    #A800E3

    oklch(55.6% 0.277 312.4)

  8. Step 700

    700

    #8E00C1

    oklch(49.2% 0.246 312.3)

  9. Step 800

    800

    #75009F

    oklch(42.7% 0.213 312.6)

  10. Step 900

    900

    #5F1181

    oklch(37.6% 0.172 312.1)

  11. Step 950

    950

    #380E4B

    oklch(26.9% 0.109 312.8)

Export this scale for Tailwind in the Tailwind colors tool

#CD98EC 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)#89AAEF0.100
Deuteranopia (no green cones)#96AEEA0.092
Tritanopia (no blue cones)#CAA3B70.090
Achromatopsia (no color)#ACACAC0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD98EC

    #CD98EC

    oklch(76% 0.129 312.4)

  • #91C269

    #91C269

    oklch(75.9% 0.13 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD98EC

    #CD98EC

    oklch(76% 0.129 312.4)

  • #A5A6FF

    #A5A6FF

    oklch(75.9% 0.127 282.5)

  • #E98FC7

    #E98FC7

    oklch(76% 0.129 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #CD98EC

    #CD98EC

    oklch(76% 0.129 312.4)

  • #C1B447

    #C1B447

    oklch(76% 0.129 102.5)

  • #55CA98

    #55CA98

    oklch(75.9% 0.129 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD98EC

    #CD98EC

    oklch(76% 0.129 312.4)

  • #E3A349

    #E3A349

    oklch(76% 0.13 72.7)

  • #09CAC7

    #09CAC7

    oklch(75.9% 0.129 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD98EC

    #CD98EC

    oklch(76% 0.129 312.4)

  • #F5946D

    #F5946D

    oklch(75.9% 0.129 42.4)

  • #91C269

    #91C269

    oklch(75.9% 0.13 132.4)

  • #32C2EC

    #32C2EC

    oklch(75.9% 0.13 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 #CD98EC, closest first.

Similar named colors

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

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