#CAA7FE

Closest named color: Lilac (#CEA2FD). oklch(79.1% 0.126 302.1), rgb(202, 167, 254).

Aa

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

About this color

#CAA7FE is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.126 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.013 away. Black text reads best on it, at 10.46:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.46:1
White text2.00:1

Values

HEX#CAA7FE
RGBrgb(202, 167, 254)
HSLhsl(264, 98%, 83%)
OKLCHoklch(79.1% 0.126 302.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 #CAA7FE 2.00:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #CAA7FE 10.46:1 AAA Lc 65.1 Content text, not long reading
#CAA7FE text on white 2.00:1 Fails Lc 38.8 Non-text elements, placeholder text
#CAA7FE text on black 10.46:1 AAA Lc -63.6 Content text, not long reading

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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #CAA7FE

    oklch(79.1% 0.126 302.1)

  5. Step 400

    400

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A755FF

    oklch(63.1% 0.241 302)

  7. Step 600

    600

    #961CF6

    oklch(55.6% 0.279 302.1)

  8. Step 700

    700

    #8000D6

    oklch(49.1% 0.259 302.1)

  9. Step 800

    800

    #680FAD

    oklch(42.7% 0.215 302.2)

  10. Step 900

    900

    #541C89

    oklch(37.7% 0.167 302)

  11. Step 950

    950

    #311350

    oklch(27% 0.106 302.2)

Export this scale for Tailwind in the Tailwind colors tool

#CAA7FE 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)#93B6FF0.079
Deuteranopia (no green cones)#9AB7FC0.074
Tritanopia (no blue cones)#C1B5C70.098
Achromatopsia (no color)#B7B7B70.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAA7FE

    #CAA7FE

    oklch(79.1% 0.126 302.1)

  • #ADC868

    #ADC868

    oklch(79.2% 0.126 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAA7FE

    #CAA7FE

    oklch(79.1% 0.126 302.1)

  • #A3B7FF

    #A3B7FF

    oklch(79.1% 0.105 271.9)

  • #EA9CDF

    #EA9CDF

    oklch(79.1% 0.126 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #CAA7FE

    #CAA7FE

    oklch(79.1% 0.126 302.1)

  • #D8B852

    #D8B852

    oklch(79.1% 0.126 91.8)

  • #78D293

    #78D293

    oklch(79.1% 0.125 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAA7FE

    #CAA7FE

    oklch(79.1% 0.126 302.1)

  • #F4A861

    #F4A861

    oklch(79.1% 0.125 62.4)

  • #41D5C1

    #41D5C1

    oklch(79.1% 0.126 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAA7FE

    #CAA7FE

    oklch(79.1% 0.126 302.1)

  • #FF9D89

    #FF9D89

    oklch(79.2% 0.121 32.3)

  • #ADC868

    #ADC868

    oklch(79.2% 0.126 122.3)

  • #39D0EA

    #39D0EA

    oklch(79.2% 0.126 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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