#CFA5FC

Closest named color: Lilac (#CEA2FD). oklch(79.1% 0.128 305.8), rgb(207, 165, 252).

Aa

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

About this color

#CFA5FC is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.128 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.44:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.44:1
White text2.01:1

Values

HEX#CFA5FC
RGBrgb(207, 165, 252)
HSLhsl(269, 94%, 82%)
OKLCHoklch(79.1% 0.128 305.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 #CFA5FC 2.01:1 Fails Lc -43.4 Non-text elements, placeholder text
Black text on #CFA5FC 10.44:1 AAA Lc 65.0 Content text, not long reading
#CFA5FC text on white 2.01:1 Fails Lc 38.9 Non-text elements, placeholder text
#CFA5FC text on black 10.44:1 AAA Lc -63.4 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)

    #CFA5FC

    oklch(79.1% 0.128 305.8)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04CFF

    oklch(63.1% 0.253 305.8)

  7. Step 600

    600

    #9E0AF2

    oklch(55.7% 0.284 305.9)

  8. Step 700

    700

    #8500CE

    oklch(49% 0.254 305.8)

  9. Step 800

    800

    #6D03AA

    oklch(42.6% 0.219 305.7)

  10. Step 900

    900

    #581887

    oklch(37.7% 0.17 305.4)

  11. Step 950

    950

    #34114F

    oklch(27% 0.108 306.1)

Export this scale for Tailwind in the Tailwind colors tool

#CFA5FC 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.086
Deuteranopia (no green cones)#9CB7FA0.080
Tritanopia (no blue cones)#C8B2C50.096
Achromatopsia (no color)#B7B7B70.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA5FC

    #CFA5FC

    oklch(79.1% 0.128 305.8)

  • #A7CA6B

    #A7CA6B

    oklch(79.2% 0.129 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA5FC

    #CFA5FC

    oklch(79.1% 0.128 305.8)

  • #A8B5FF

    #A8B5FF

    oklch(79.1% 0.106 276)

  • #EE9BDA

    #EE9BDA

    oklch(79.2% 0.127 336)

Open the analogous palette in the generator

Split complementary

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

  • #CFA5FC

    #CFA5FC

    oklch(79.1% 0.128 305.8)

  • #D4BA51

    #D4BA51

    oklch(79.1% 0.127 95.4)

  • #6FD398

    #6FD398

    oklch(79% 0.127 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA5FC

    #CFA5FC

    oklch(79.1% 0.128 305.8)

  • #F2A95B

    #F2A95B

    oklch(79% 0.128 65.9)

  • #36D5C7

    #36D5C7

    oklch(79.1% 0.128 186)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA5FC

    #CFA5FC

    oklch(79.1% 0.128 305.8)

  • #FF9D83

    #FF9D83

    oklch(79% 0.123 35.7)

  • #A7CA6B

    #A7CA6B

    oklch(79.2% 0.129 125.8)

  • #39CFEF

    #39CFEF

    oklch(79.2% 0.128 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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