#CFA2F8

Closest named color: Lilac (#CEA2FD). oklch(78.4% 0.128 307.7), rgb(207, 162, 248).

Aa

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

About this color

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

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

Values

HEX#CFA2F8
RGBrgb(207, 162, 248)
HSLhsl(271, 86%, 80%)
OKLCHoklch(78.4% 0.128 307.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 #CFA2F8 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CFA2F8 10.17:1 AAA Lc 63.8 Content text, not long reading
#CFA2F8 text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#CFA2F8 text on black 10.17:1 AAA Lc -62.1 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

    #E6CDFE

    oklch(88.5% 0.071 308)

  4. Step 300

    300 (this color)

    #CFA2F8

    oklch(78.4% 0.128 307.7)

  5. Step 400

    400

    #C377FF

    oklch(70.7% 0.201 307.9)

  6. Step 500

    500

    #B546FF

    oklch(63.1% 0.261 307.8)

  7. Step 600

    600

    #A102EF

    oklch(55.6% 0.284 307.6)

  8. Step 700

    700

    #8800CB

    oklch(49.2% 0.252 307.6)

  9. Step 800

    800

    #7000A8

    oklch(42.7% 0.219 307.7)

  10. Step 900

    900

    #5A1685

    oklch(37.6% 0.171 307.5)

  11. Step 950

    950

    #35114E

    oklch(27.1% 0.108 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#CFA2F8 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)#91B3FB0.090
Deuteranopia (no green cones)#9BB5F60.083
Tritanopia (no blue cones)#CAAEC20.093
Achromatopsia (no color)#B4B4B40.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA2F8

    #CFA2F8

    oklch(78.4% 0.128 307.7)

  • #A1C86C

    #A1C86C

    oklch(78.4% 0.127 127.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA2F8

    #CFA2F8

    oklch(78.4% 0.128 307.7)

  • #A8B2FF

    #A8B2FF

    oklch(78.5% 0.11 277.9)

  • #ED98D6

    #ED98D6

    oklch(78.4% 0.128 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #CFA2F8

    #CFA2F8

    oklch(78.4% 0.128 307.7)

  • #CFB94F

    #CFB94F

    oklch(78.4% 0.128 97.6)

  • #69D199

    #69D199

    oklch(78.3% 0.127 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA2F8

    #CFA2F8

    oklch(78.4% 0.128 307.7)

  • #EFA857

    #EFA857

    oklch(78.5% 0.128 67.5)

  • #30D3C7

    #30D3C7

    oklch(78.5% 0.128 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA2F8

    #CFA2F8

    oklch(78.4% 0.128 307.7)

  • #FE9A7C

    #FE9A7C

    oklch(78.3% 0.128 37.5)

  • #A1C86C

    #A1C86C

    oklch(78.4% 0.127 127.9)

  • #39CCEE

    #39CCEE

    oklch(78.4% 0.127 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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