#CBA6FE

Closest named color: Lilac (#CEA2FD). oklch(79% 0.128 302.9), rgb(203, 166, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.42:1
White text2.01:1

Values

HEX#CBA6FE
RGBrgb(203, 166, 254)
HSLhsl(265, 98%, 82%)
OKLCHoklch(79% 0.128 302.9)

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 #CBA6FE 2.01:1 Fails Lc -43.5 Non-text elements, placeholder text
Black text on #CBA6FE 10.42:1 AAA Lc 64.9 Content text, not long reading
#CBA6FE text on white 2.01:1 Fails Lc 39.0 Non-text elements, placeholder text
#CBA6FE text on black 10.42:1 AAA Lc -63.3 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE4FF

    oklch(93.5% 0.038 302.5)

  3. Step 200

    200

    #E2CFFF

    oklch(88.5% 0.068 303.1)

  4. Step 300

    300 (this color)

    #CBA6FE

    oklch(79% 0.128 302.9)

  5. Step 400

    400

    #B97EFF

    oklch(70.7% 0.188 303)

  6. Step 500

    500

    #A953FF

    oklch(63.1% 0.243 302.9)

  7. Step 600

    600

    #9814F7

    oklch(55.6% 0.284 302.8)

  8. Step 700

    700

    #8100D4

    oklch(49% 0.258 302.9)

  9. Step 800

    800

    #690AAE

    oklch(42.7% 0.218 302.6)

  10. Step 900

    900

    #551A89

    oklch(37.7% 0.17 302.8)

  11. Step 950

    950

    #321250

    oklch(27% 0.108 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#CBA6FE 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)#92B6FF0.082
Deuteranopia (no green cones)#9AB7FC0.076
Tritanopia (no blue cones)#C3B4C60.099
Achromatopsia (no color)#B7B7B70.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA6FE

    #CBA6FE

    oklch(79% 0.128 302.9)

  • #ABC868

    #ABC868

    oklch(79% 0.127 123.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA6FE

    #CBA6FE

    oklch(79% 0.128 302.9)

  • #A4B6FF

    #A4B6FF

    oklch(79% 0.106 273.1)

  • #EB9BDE

    #EB9BDE

    oklch(79% 0.128 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #CBA6FE

    #CBA6FE

    oklch(79% 0.128 302.9)

  • #D7B850

    #D7B850

    oklch(79% 0.127 92.6)

  • #75D293

    #75D293

    oklch(79% 0.127 153)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA6FE

    #CBA6FE

    oklch(79% 0.128 302.9)

  • #F4A75E

    #F4A75E

    oklch(78.9% 0.127 62.6)

  • #3BD5C2

    #3BD5C2

    oklch(79% 0.128 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA6FE

    #CBA6FE

    oklch(79% 0.128 302.9)

  • #FF9C87

    #FF9C87

    oklch(78.9% 0.123 32.8)

  • #ABC868

    #ABC868

    oklch(79% 0.127 123.1)

  • #35CFEB

    #35CFEB

    oklch(78.9% 0.127 213.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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