#CFA5FD

Closest named color: Lilac (#CEA2FD). oklch(79.2% 0.129 305.6), rgb(207, 165, 253).

Aa

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

About this color

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

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

Values

HEX#CFA5FD
RGBrgb(207, 165, 253)
HSLhsl(269, 96%, 82%)
OKLCHoklch(79.2% 0.129 305.6)

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 #CFA5FD 2.00:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #CFA5FD 10.45:1 AAA Lc 65.1 Content text, not long reading
#CFA5FD text on white 2.00:1 Fails Lc 38.9 Non-text elements, placeholder text
#CFA5FD text on black 10.45:1 AAA Lc -63.5 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F0E4FE

    oklch(93.6% 0.037 306.4)

  3. Step 200

    200

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #CFA5FD

    oklch(79.2% 0.129 305.6)

  5. Step 400

    400

    #BE7BFF

    oklch(70.7% 0.193 305.4)

  6. Step 500

    500

    #AF4CFF

    oklch(63% 0.253 305.5)

  7. Step 600

    600

    #9E03F4

    oklch(55.7% 0.287 305.6)

  8. Step 700

    700

    #8500CF

    oklch(49.1% 0.254 305.5)

  9. Step 800

    800

    #6D01AB

    oklch(42.6% 0.22 305.5)

  10. Step 900

    900

    #581788

    oklch(37.7% 0.172 305.2)

  11. Step 950

    950

    #34114F

    oklch(27% 0.108 306.1)

Export this scale for Tailwind in the Tailwind colors tool

#CFA5FD 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)#93B5FF0.087
Deuteranopia (no green cones)#9BB7FB0.081
Tritanopia (no blue cones)#C8B2C60.096
Achromatopsia (no color)#B7B7B70.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA5FD

    #CFA5FD

    oklch(79.2% 0.129 305.6)

  • #A7CA6A

    #A7CA6A

    oklch(79.2% 0.13 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA5FD

    #CFA5FD

    oklch(79.2% 0.129 305.6)

  • #A8B6FF

    #A8B6FF

    oklch(79.3% 0.105 275.4)

  • #EF9ADB

    #EF9ADB

    oklch(79.2% 0.13 335.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFA5FD

    #CFA5FD

    oklch(79.2% 0.129 305.6)

  • #D4BA4F

    #D4BA4F

    oklch(79.1% 0.129 95.6)

  • #6FD497

    #6FD497

    oklch(79.3% 0.13 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA5FD

    #CFA5FD

    oklch(79.2% 0.129 305.6)

  • #F3A95A

    #F3A95A

    oklch(79.1% 0.129 65.8)

  • #34D5C7

    #34D5C7

    oklch(79.1% 0.128 186)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA5FD

    #CFA5FD

    oklch(79.2% 0.129 305.6)

  • #FF9E84

    #FF9E84

    oklch(79.2% 0.122 35.8)

  • #A7CA6A

    #A7CA6A

    oklch(79.2% 0.13 125.7)

  • #36CFEF

    #36CFEF

    oklch(79.1% 0.129 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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