#CFA6FF

Closest named color: Lilac (#CEA2FD). oklch(79.4% 0.13 304.8), rgb(207, 166, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.55:1
White text1.99:1

Values

HEX#CFA6FF
RGBrgb(207, 166, 255)
HSLhsl(268, 100%, 83%)
OKLCHoklch(79.4% 0.13 304.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 #CFA6FF 1.99:1 Fails Lc -42.8 Non-text elements, placeholder text
Black text on #CFA6FF 10.55:1 AAA Lc 65.5 Content text, not long reading
#CFA6FF text on white 1.99:1 Fails Lc 38.4 Non-text elements, placeholder text
#CFA6FF text on black 10.55:1 AAA Lc -64.0 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

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  3. Step 200

    200

    #E3CEFF

    oklch(88.4% 0.07 304.5)

  4. Step 300

    300 (this color)

    #CFA6FF

    oklch(79.4% 0.13 304.8)

  5. Step 400

    400

    #BD7CFF

    oklch(70.8% 0.192 304.9)

  6. Step 500

    500

    #AD4EFF

    oklch(63% 0.25 304.7)

  7. Step 600

    600

    #9C02F6

    oklch(55.6% 0.289 304.6)

  8. Step 700

    700

    #8400D1

    oklch(49.2% 0.256 304.7)

  9. Step 800

    800

    #6D00AD

    oklch(42.8% 0.222 304.9)

  10. Step 900

    900

    #581789

    oklch(37.8% 0.173 304.8)

  11. Step 950

    950

    #331150

    oklch(27% 0.109 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#CFA6FF 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.087
Deuteranopia (no green cones)#9BB8FD0.081
Tritanopia (no blue cones)#C8B4C70.099
Achromatopsia (no color)#B8B8B80.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA6FF

    #CFA6FF

    oklch(79.4% 0.13 304.8)

  • #A9CA69

    #A9CA69

    oklch(79.3% 0.13 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA6FF

    #CFA6FF

    oklch(79.4% 0.13 304.8)

  • #A8B7FF

    #A8B7FF

    oklch(79.5% 0.104 274.8)

  • #EF9BDD

    #EF9BDD

    oklch(79.4% 0.13 334.9)

Open the analogous palette in the generator

Split complementary

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

  • #CFA6FF

    #CFA6FF

    oklch(79.4% 0.13 304.8)

  • #D6BB4F

    #D6BB4F

    oklch(79.5% 0.13 95.2)

  • #71D496

    #71D496

    oklch(79.3% 0.13 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA6FF

    #CFA6FF

    oklch(79.4% 0.13 304.8)

  • #F5A95B

    #F5A95B

    oklch(79.4% 0.13 64.7)

  • #34D7C6

    #34D7C6

    oklch(79.5% 0.13 184.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA6FF

    #CFA6FF

    oklch(79.4% 0.13 304.8)

  • #FF9F87

    #FF9F87

    oklch(79.4% 0.12 34.8)

  • #A9CA69

    #A9CA69

    oklch(79.3% 0.13 124.7)

  • #34D0EF

    #34D0EF

    oklch(79.3% 0.13 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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