#CFA1FF

Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.138 305.9), rgb(207, 161, 255).

Aa

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

About this color

#CFA1FF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.138 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.004 away. Black text reads best on it, at 10.19:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.19:1
White text2.05:1

Values

HEX#CFA1FF
RGBrgb(207, 161, 255)
HSLhsl(269, 100%, 82%)
OKLCHoklch(78.6% 0.138 305.9)

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 #CFA1FF 2.05:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #CFA1FF 10.19:1 AAA Lc 63.9 Content text, not long reading
#CFA1FF text on white 2.05:1 Fails Lc 40.1 Non-text elements, placeholder text
#CFA1FF text on black 10.19:1 AAA Lc -62.2 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

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E5CEFF

    oklch(88.6% 0.071 306.3)

  4. Step 300

    300 (this color)

    #CFA1FF

    oklch(78.6% 0.138 305.9)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04BFF

    oklch(63% 0.254 305.9)

  7. Step 600

    600

    #9E00F3

    oklch(55.5% 0.287 305.9)

  8. Step 700

    700

    #8600CE

    oklch(49.2% 0.254 306.1)

  9. Step 800

    800

    #6E00AB

    oklch(42.7% 0.221 305.9)

  10. Step 900

    900

    #5B0D8C

    oklch(37.8% 0.184 306.2)

  11. Step 950

    950

    #350E52

    oklch(27.1% 0.116 305.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFA1FF 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)#8DB3FF0.096
Deuteranopia (no green cones)#97B5FC0.088
Tritanopia (no blue cones)#C8AFC40.103
Achromatopsia (no color)#B5B5B50.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA1FF

    #CFA1FF

    oklch(78.6% 0.138 305.9)

  • #A3C962

    #A3C962

    oklch(78.6% 0.138 126.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA1FF

    #CFA1FF

    oklch(78.6% 0.138 305.9)

  • #A6B3FF

    #A6B3FF

    oklch(78.5% 0.109 276.1)

  • #F096DB

    #F096DB

    oklch(78.6% 0.138 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #CFA1FF

    #CFA1FF

    oklch(78.6% 0.138 305.9)

  • #D4B841

    #D4B841

    oklch(78.6% 0.138 95.7)

  • #64D393

    #64D393

    oklch(78.5% 0.138 155.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA1FF

    #CFA1FF

    oklch(78.6% 0.138 305.9)

  • #F5A64E

    #F5A64E

    oklch(78.7% 0.139 66.1)

  • #00D5C6

    #00D5C6

    oklch(78.5% 0.138 185.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA1FF

    #CFA1FF

    oklch(78.6% 0.138 305.9)

  • #FF9B7F

    #FF9B7F

    oklch(78.6% 0.127 36.4)

  • #A3C962

    #A3C962

    oklch(78.6% 0.138 126.1)

  • #0FCEF1

    #0FCEF1

    oklch(78.5% 0.138 216.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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