#CFA8FF

Closest named color: Lilac (#CEA2FD). oklch(79.8% 0.127 304.3), rgb(207, 168, 255).

Aa

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

About this color

#CFA8FF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.127 and its hue 304°. 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.69:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.69:1
White text1.96:1

Values

HEX#CFA8FF
RGBrgb(207, 168, 255)
HSLhsl(267, 100%, 83%)
OKLCHoklch(79.8% 0.127 304.3)

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 #CFA8FF 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #CFA8FF 10.69:1 AAA Lc 66.2 Content text, not long reading
#CFA8FF text on white 1.96:1 Fails Lc 37.7 Non-text elements, placeholder text
#CFA8FF text on black 10.69:1 AAA Lc -64.7 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

    #E3CEFF

    oklch(88.4% 0.07 304.5)

  4. Step 300

    300 (this color)

    #CFA8FF

    oklch(79.8% 0.127 304.3)

  5. Step 400

    400

    #BB7CFF

    oklch(70.6% 0.191 304.1)

  6. Step 500

    500

    #AC50FF

    oklch(63.1% 0.248 304.2)

  7. Step 600

    600

    #9A14F3

    oklch(55.5% 0.281 304.2)

  8. Step 700

    700

    #8300D2

    oklch(49.1% 0.256 304.1)

  9. Step 800

    800

    #6B0AAB

    oklch(42.7% 0.216 304.3)

  10. Step 900

    900

    #571A88

    oklch(37.8% 0.169 304.3)

  11. Step 950

    950

    #33124F

    oklch(27% 0.107 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFA8FF 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)#95B8FF0.084
Deuteranopia (no green cones)#9DB9FD0.077
Tritanopia (no blue cones)#C8B5C80.096
Achromatopsia (no color)#B9B9B90.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA8FF

    #CFA8FF

    oklch(79.8% 0.127 304.3)

  • #ACCB6C

    #ACCB6C

    oklch(79.8% 0.127 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA8FF

    #CFA8FF

    oklch(79.8% 0.127 304.3)

  • #A9B8FF

    #A9B8FF

    oklch(79.7% 0.102 274.7)

  • #EF9DDE

    #EF9DDE

    oklch(79.7% 0.127 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #CFA8FF

    #CFA8FF

    oklch(79.8% 0.127 304.3)

  • #D7BB54

    #D7BB54

    oklch(79.6% 0.126 94.1)

  • #76D598

    #76D598

    oklch(79.8% 0.126 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA8FF

    #CFA8FF

    oklch(79.8% 0.127 304.3)

  • #F5AB60

    #F5AB60

    oklch(79.8% 0.126 64.6)

  • #3FD7C6

    #3FD7C6

    oklch(79.7% 0.127 184)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA8FF

    #CFA8FF

    oklch(79.8% 0.127 304.3)

  • #FFA18A

    #FFA18A

    oklch(79.8% 0.117 34.5)

  • #ACCB6C

    #ACCB6C

    oklch(79.8% 0.127 124.1)

  • #3DD1EF

    #3DD1EF

    oklch(79.7% 0.127 214.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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