#CFA1F2

Closest named color: Lilac (#CEA2FD). oklch(78% 0.122 309.7), rgb(207, 161, 242).

Aa

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

About this color

#CFA1F2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.122 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.016 away. Black text reads best on it, at 10.03:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.03:1
White text2.09:1

Values

HEX#CFA1F2
RGBrgb(207, 161, 242)
HSLhsl(274, 76%, 79%)
OKLCHoklch(78% 0.122 309.7)

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 #CFA1F2 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #CFA1F2 10.03:1 AAA Lc 63.1 Content text, not long reading
#CFA1F2 text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#CFA1F2 text on black 10.03:1 AAA Lc -61.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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FC

    oklch(93.6% 0.035 309.8)

  3. Step 200

    200

    #E7CDFB

    oklch(88.4% 0.068 310.4)

  4. Step 300

    300 (this color)

    #CFA1F2

    oklch(78% 0.122 309.7)

  5. Step 400

    400

    #C578FA

    oklch(70.7% 0.195 309.7)

  6. Step 500

    500

    #B74AF7

    oklch(63.2% 0.249 309.9)

  7. Step 600

    600

    #A316E6

    oklch(55.7% 0.272 309.8)

  8. Step 700

    700

    #8B00C6

    oklch(49.1% 0.249 309.9)

  9. Step 800

    800

    #710BA1

    oklch(42.7% 0.209 309.9)

  10. Step 900

    900

    #5B1980

    oklch(37.6% 0.163 309.6)

  11. Step 950

    950

    #35124B

    oklch(27% 0.103 309.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA1F2 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)#92B1F50.089
Deuteranopia (no green cones)#9CB4F00.082
Tritanopia (no blue cones)#CBACBF0.087
Achromatopsia (no color)#B3B3B30.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA1F2

    #CFA1F2

    oklch(78% 0.122 309.7)

  • #9EC771

    #9EC771

    oklch(78% 0.122 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA1F2

    #CFA1F2

    oklch(78% 0.122 309.7)

  • #A9AFFF

    #A9AFFF

    oklch(78% 0.114 280.1)

  • #EB98D0

    #EB98D0

    oklch(78% 0.121 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFA1F2

    #CFA1F2

    oklch(78% 0.122 309.7)

  • #CAB955

    #CAB955

    oklch(78% 0.122 99.8)

  • #69CF9C

    #69CF9C

    oklch(77.9% 0.122 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA1F2

    #CFA1F2

    oklch(78% 0.122 309.7)

  • #E9A95A

    #E9A95A

    oklch(78% 0.122 70.1)

  • #3AD0C8

    #3AD0C8

    oklch(78% 0.122 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA1F2

    #CFA1F2

    oklch(78% 0.122 309.7)

  • #FA9B7B

    #FA9B7B

    oklch(78% 0.123 39.3)

  • #9EC771

    #9EC771

    oklch(78% 0.122 129.7)

  • #46C9ED

    #46C9ED

    oklch(78% 0.122 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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