#CFA2F2

Closest named color: Lilac (#CEA2FD). oklch(78.2% 0.12 309.5), rgb(207, 162, 242).

Aa

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

About this color

#CFA2F2 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.120 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.10:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.10:1
White text2.07:1

Values

HEX#CFA2F2
RGBrgb(207, 162, 242)
HSLhsl(274, 75%, 79%)
OKLCHoklch(78.2% 0.12 309.5)

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 #CFA2F2 2.07:1 Fails Lc -45.1 Large or bold text, headings
Black text on #CFA2F2 10.10:1 AAA Lc 63.4 Content text, not long reading
#CFA2F2 text on white 2.07:1 Fails Lc 40.5 Non-text elements, placeholder text
#CFA2F2 text on black 10.10:1 AAA Lc -61.8 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

    #E6CEFB

    oklch(88.5% 0.066 309)

  4. Step 300

    300 (this color)

    #CFA2F2

    oklch(78.2% 0.12 309.5)

  5. Step 400

    400

    #C478F9

    oklch(70.6% 0.193 309.5)

  6. Step 500

    500

    #B64CF6

    oklch(63.2% 0.246 309.6)

  7. Step 600

    600

    #A21BE5

    oklch(55.7% 0.268 309.6)

  8. Step 700

    700

    #8A00C7

    oklch(49.1% 0.249 309.3)

  9. Step 800

    800

    #700FA1

    oklch(42.7% 0.206 309.3)

  10. Step 900

    900

    #5B1B80

    oklch(37.8% 0.161 309.4)

  11. Step 950

    950

    #35124B

    oklch(27% 0.103 309.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA2F2 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)#93B2F50.088
Deuteranopia (no green cones)#9DB5F00.081
Tritanopia (no blue cones)#CBADBF0.087
Achromatopsia (no color)#B4B4B40.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA2F2

    #CFA2F2

    oklch(78.2% 0.12 309.5)

  • #9FC772

    #9FC772

    oklch(78.1% 0.121 129.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA2F2

    #CFA2F2

    oklch(78.2% 0.12 309.5)

  • #A9B0FF

    #A9B0FF

    oklch(78.2% 0.113 279.6)

  • #EB99D1

    #EB99D1

    oklch(78.2% 0.12 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #CFA2F2

    #CFA2F2

    oklch(78.2% 0.12 309.5)

  • #CAB957

    #CAB957

    oklch(78.1% 0.12 99.6)

  • #6CD09C

    #6CD09C

    oklch(78.3% 0.121 159.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA2F2

    #CFA2F2

    oklch(78.2% 0.12 309.5)

  • #E9A95C

    #E9A95C

    oklch(78% 0.12 69.5)

  • #3FD0C8

    #3FD0C8

    oklch(78.1% 0.12 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA2F2

    #CFA2F2

    oklch(78.2% 0.12 309.5)

  • #FA9C7D

    #FA9C7D

    oklch(78.2% 0.121 39)

  • #9FC772

    #9FC772

    oklch(78.1% 0.121 129.4)

  • #49CAEC

    #49CAEC

    oklch(78.2% 0.12 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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