#CFA2F9

Closest named color: Lilac (#CEA2FD). oklch(78.5% 0.129 307.4), rgb(207, 162, 249).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.18:1
White text2.06:1

Values

HEX#CFA2F9
RGBrgb(207, 162, 249)
HSLhsl(271, 88%, 81%)
OKLCHoklch(78.5% 0.129 307.4)

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 #CFA2F9 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CFA2F9 10.18:1 AAA Lc 63.8 Content text, not long reading
#CFA2F9 text on white 2.06:1 Fails Lc 40.1 Non-text elements, placeholder text
#CFA2F9 text on black 10.18: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

    #F0E4FE

    oklch(93.6% 0.037 306.4)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #CFA2F9

    oklch(78.5% 0.129 307.4)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B447FF

    oklch(63.1% 0.259 307.5)

  7. Step 600

    600

    #A100F0

    oklch(55.7% 0.286 307.4)

  8. Step 700

    700

    #8700CB

    oklch(49% 0.252 307.2)

  9. Step 800

    800

    #7000A8

    oklch(42.7% 0.219 307.7)

  10. Step 900

    900

    #5A1586

    oklch(37.6% 0.172 307.2)

  11. Step 950

    950

    #35104E

    oklch(27% 0.109 307.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFA2F9 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)#91B3FC0.090
Deuteranopia (no green cones)#9AB5F70.084
Tritanopia (no blue cones)#C9AFC20.096
Achromatopsia (no color)#B5B5B50.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA2F9

    #CFA2F9

    oklch(78.5% 0.129 307.4)

  • #A2C86A

    #A2C86A

    oklch(78.4% 0.129 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA2F9

    #CFA2F9

    oklch(78.5% 0.129 307.4)

  • #A7B2FF

    #A7B2FF

    oklch(78.4% 0.11 277.3)

  • #EE98D6

    #EE98D6

    oklch(78.5% 0.129 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFA2F9

    #CFA2F9

    oklch(78.5% 0.129 307.4)

  • #D0B94D

    #D0B94D

    oklch(78.5% 0.129 97.3)

  • #69D298

    #69D298

    oklch(78.6% 0.13 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA2F9

    #CFA2F9

    oklch(78.5% 0.129 307.4)

  • #EFA856

    #EFA856

    oklch(78.4% 0.129 67.8)

  • #2DD3C7

    #2DD3C7

    oklch(78.5% 0.129 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA2F9

    #CFA2F9

    oklch(78.5% 0.129 307.4)

  • #FF9A7C

    #FF9A7C

    oklch(78.4% 0.129 37.3)

  • #A2C86A

    #A2C86A

    oklch(78.4% 0.129 127.2)

  • #35CCEF

    #35CCEF

    oklch(78.4% 0.129 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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