#CA9DEF

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.123 308.8), rgb(202, 157, 239).

Aa

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

About this color

#CA9DEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.123 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.014 away. Black text reads best on it, at 9.58:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.58:1
White text2.19:1

Values

HEX#CA9DEF
RGBrgb(202, 157, 239)
HSLhsl(273, 72%, 78%)
OKLCHoklch(76.7% 0.123 308.8)

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 #CA9DEF 2.19:1 Fails Lc -47.8 Large or bold text, headings
Black text on #CA9DEF 9.58:1 AAA Lc 60.9 Content text, not long reading
#CA9DEF text on white 2.19:1 Fails Lc 43.0 Non-text elements, placeholder text
#CA9DEF text on black 9.58:1 AAA Lc -59.1 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E6CDFC

    oklch(88.4% 0.069 309)

  4. Step 300

    300 (this color)

    #CA9DEF

    oklch(76.7% 0.123 308.8)

  5. Step 400

    400

    #C477FC

    oklch(70.6% 0.198 308.9)

  6. Step 500

    500

    #B549FA

    oklch(63.1% 0.253 308.7)

  7. Step 600

    600

    #A114E8

    oklch(55.5% 0.274 308.8)

  8. Step 700

    700

    #8900C8

    oklch(49% 0.25 308.7)

  9. Step 800

    800

    #7009A3

    oklch(42.6% 0.211 308.9)

  10. Step 900

    900

    #5B1982

    oklch(37.8% 0.165 308.9)

  11. Step 950

    950

    #35124C

    oklch(27% 0.104 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA9DEF 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)#8DADF20.089
Deuteranopia (no green cones)#97B0ED0.083
Tritanopia (no blue cones)#C5A9BB0.091
Achromatopsia (no color)#AFAFAF0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA9DEF

    #CA9DEF

    oklch(76.7% 0.123 308.8)

  • #9BC36B

    #9BC36B

    oklch(76.8% 0.124 129)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA9DEF

    #CA9DEF

    oklch(76.7% 0.123 308.8)

  • #A3ABFF

    #A3ABFF

    oklch(76.8% 0.12 279)

  • #E794CD

    #E794CD

    oklch(76.8% 0.123 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #CA9DEF

    #CA9DEF

    oklch(76.7% 0.123 308.8)

  • #C7B44F

    #C7B44F

    oklch(76.6% 0.123 98.7)

  • #65CB96

    #65CB96

    oklch(76.6% 0.124 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA9DEF

    #CA9DEF

    oklch(76.7% 0.123 308.8)

  • #E6A455

    #E6A455

    oklch(76.7% 0.123 69)

  • #31CCC3

    #31CCC3

    oklch(76.7% 0.123 188.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA9DEF

    #CA9DEF

    oklch(76.7% 0.123 308.8)

  • #F69777

    #F69777

    oklch(76.7% 0.123 39.3)

  • #9BC36B

    #9BC36B

    oklch(76.8% 0.124 129)

  • #3CC5E8

    #3CC5E8

    oklch(76.6% 0.123 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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