#CFA5F2

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.115 308.8), rgb(207, 165, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.31:1
White text2.03:1

Values

HEX#CFA5F2
RGBrgb(207, 165, 242)
HSLhsl(273, 75%, 80%)
OKLCHoklch(78.7% 0.115 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 #CFA5F2 2.03:1 Fails Lc -44.0 Non-text elements, placeholder text
Black text on #CFA5F2 10.31:1 AAA Lc 64.4 Content text, not long reading
#CFA5F2 text on white 2.03:1 Fails Lc 39.5 Non-text elements, placeholder text
#CFA5F2 text on black 10.31:1 AAA Lc -62.8 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FB

    oklch(93.5% 0.033 309)

  3. Step 200

    200

    #E5CEFA

    oklch(88.4% 0.064 308.6)

  4. Step 300

    300 (this color)

    #CFA5F2

    oklch(78.7% 0.115 308.8)

  5. Step 400

    400

    #C27BF7

    oklch(70.7% 0.186 308.8)

  6. Step 500

    500

    #B351F3

    oklch(63.2% 0.236 308.9)

  7. Step 600

    600

    #9E27E1

    oklch(55.5% 0.257 308.7)

  8. Step 700

    700

    #8814C4

    oklch(49.2% 0.239 308.9)

  9. Step 800

    800

    #6E189E

    oklch(42.7% 0.197 308.9)

  10. Step 900

    900

    #591E7E

    oklch(37.7% 0.155 308.7)

  11. Step 950

    950

    #34144A

    oklch(27% 0.098 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#CFA5F2 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)#97B4F50.082
Deuteranopia (no green cones)#A0B6F00.075
Tritanopia (no blue cones)#CBB0C10.085
Achromatopsia (no color)#B6B6B60.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA5F2

    #CFA5F2

    oklch(78.7% 0.115 308.8)

  • #A3C877

    #A3C877

    oklch(78.7% 0.115 128.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA5F2

    #CFA5F2

    oklch(78.7% 0.115 308.8)

  • #AAB2FF

    #AAB2FF

    oklch(78.6% 0.11 279)

  • #EA9CD2

    #EA9CD2

    oklch(78.6% 0.115 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFA5F2

    #CFA5F2

    oklch(78.7% 0.115 308.8)

  • #CCBB5E

    #CCBB5E

    oklch(78.7% 0.116 99.1)

  • #73D09E

    #73D09E

    oklch(78.6% 0.115 158.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA5F2

    #CFA5F2

    oklch(78.7% 0.115 308.8)

  • #EAAC63

    #EAAC63

    oklch(78.8% 0.116 69.3)

  • #4BD1C8

    #4BD1C8

    oklch(78.6% 0.116 188.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA5F2

    #CFA5F2

    oklch(78.7% 0.115 308.8)

  • #F99F82

    #F99F82

    oklch(78.6% 0.115 38.6)

  • #A3C877

    #A3C877

    oklch(78.7% 0.115 128.8)

  • #52CBEB

    #52CBEB

    oklch(78.7% 0.115 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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