#CFA8FC

Closest named color: Lilac (#CEA2FD). oklch(79.6% 0.123 305.1), rgb(207, 168, 252).

Aa

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

About this color

#CFA8FC is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.123 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.015 away. Black text reads best on it, at 10.65:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.65:1
White text1.97:1

Values

HEX#CFA8FC
RGBrgb(207, 168, 252)
HSLhsl(268, 93%, 82%)
OKLCHoklch(79.6% 0.123 305.1)

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 #CFA8FC 1.97:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #CFA8FC 10.65:1 AAA Lc 66.0 Content text, not long reading
#CFA8FC text on white 1.97:1 Fails Lc 37.9 Non-text elements, placeholder text
#CFA8FC text on black 10.65:1 AAA Lc -64.5 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

    #EFE4FE

    oklch(93.5% 0.037 304.8)

  3. Step 200

    200

    #E3CEFE

    oklch(88.4% 0.069 304.9)

  4. Step 300

    300 (this color)

    #CFA8FC

    oklch(79.6% 0.123 305.1)

  5. Step 400

    400

    #BD7BFF

    oklch(70.6% 0.193 305.1)

  6. Step 500

    500

    #AE4EFF

    oklch(63.1% 0.25 305)

  7. Step 600

    600

    #9B1EEE

    oklch(55.7% 0.273 305.3)

  8. Step 700

    700

    #8402CF

    oklch(49% 0.254 305.1)

  9. Step 800

    800

    #6B11A8

    oklch(42.7% 0.21 304.9)

  10. Step 900

    900

    #571C85

    oklch(37.8% 0.164 305.1)

  11. Step 950

    950

    #33134E

    oklch(27.1% 0.104 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA8FC 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)#97B7FF0.081
Deuteranopia (no green cones)#9EB9FA0.076
Tritanopia (no blue cones)#C8B4C70.092
Achromatopsia (no color)#B9B9B90.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA8FC

    #CFA8FC

    oklch(79.6% 0.123 305.1)

  • #AACA70

    #AACA70

    oklch(79.5% 0.122 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA8FC

    #CFA8FC

    oklch(79.6% 0.123 305.1)

  • #A9B8FF

    #A9B8FF

    oklch(79.7% 0.102 274.7)

  • #EE9EDC

    #EE9EDC

    oklch(79.7% 0.123 335.2)

Open the analogous palette in the generator

Split complementary

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

  • #CFA8FC

    #CFA8FC

    oklch(79.6% 0.123 305.1)

  • #D5BC58

    #D5BC58

    oklch(79.7% 0.123 95.4)

  • #77D49A

    #77D49A

    oklch(79.7% 0.122 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA8FC

    #CFA8FC

    oklch(79.6% 0.123 305.1)

  • #F3AB62

    #F3AB62

    oklch(79.6% 0.123 64.8)

  • #45D6C7

    #45D6C7

    oklch(79.7% 0.123 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA8FC

    #CFA8FC

    oklch(79.6% 0.123 305.1)

  • #FFA088

    #FFA088

    oklch(79.6% 0.119 34.9)

  • #AACA70

    #AACA70

    oklch(79.5% 0.122 125.1)

  • #45D0EE

    #45D0EE

    oklch(79.6% 0.123 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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