#CBA7FA

Closest named color: Lilac (#CEA2FD). oklch(79% 0.121 303.7), rgb(203, 167, 250).

Aa

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

About this color

#CBA7FA is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.121 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.014 away. Black text reads best on it, at 10.44:1.

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

Values

HEX#CBA7FA
RGBrgb(203, 167, 250)
HSLhsl(266, 89%, 82%)
OKLCHoklch(79% 0.121 303.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 #CBA7FA 2.01:1 Fails Lc -43.4 Non-text elements, placeholder text
Black text on #CBA7FA 10.44:1 AAA Lc 65.0 Content text, not long reading
#CBA7FA text on white 2.01:1 Fails Lc 38.9 Non-text elements, placeholder text
#CBA7FA text on black 10.44:1 AAA Lc -63.4 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

    #EFE5FE

    oklch(93.7% 0.035 303.8)

  3. Step 200

    200

    #E2CFFE

    oklch(88.5% 0.067 303.4)

  4. Step 300

    300 (this color)

    #CBA7FA

    oklch(79% 0.121 303.7)

  5. Step 400

    400

    #BA7DFF

    oklch(70.6% 0.189 303.6)

  6. Step 500

    500

    #AB51FF

    oklch(63.1% 0.246 303.7)

  7. Step 600

    600

    #9724EF

    oklch(55.6% 0.269 303.5)

  8. Step 700

    700

    #810ED0

    oklch(49.1% 0.25 303.5)

  9. Step 800

    800

    #6916A8

    oklch(42.7% 0.207 303.7)

  10. Step 900

    900

    #551E85

    oklch(37.7% 0.161 303.7)

  11. Step 950

    950

    #32144E

    oklch(27.1% 0.102 304)

Export this scale for Tailwind in the Tailwind colors tool

#CBA7FA 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)#95B6FD0.078
Deuteranopia (no green cones)#9CB7F80.073
Tritanopia (no blue cones)#C4B4C50.094
Achromatopsia (no color)#B7B7B70.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA7FA

    #CBA7FA

    oklch(79% 0.121 303.7)

  • #ABC86E

    #ABC86E

    oklch(79.1% 0.121 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA7FA

    #CBA7FA

    oklch(79% 0.121 303.7)

  • #A5B6FF

    #A5B6FF

    oklch(79.1% 0.106 273.7)

  • #EA9DDB

    #EA9DDB

    oklch(79.1% 0.121 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #CBA7FA

    #CBA7FA

    oklch(79% 0.121 303.7)

  • #D4B958

    #D4B958

    oklch(79% 0.121 93.9)

  • #78D196

    #78D196

    oklch(78.9% 0.121 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA7FA

    #CBA7FA

    oklch(79% 0.121 303.7)

  • #F1A964

    #F1A964

    oklch(79% 0.121 63.3)

  • #48D4C3

    #48D4C3

    oklch(79.1% 0.121 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA7FA

    #CBA7FA

    oklch(79% 0.121 303.7)

  • #FE9D87

    #FE9D87

    oklch(79% 0.121 33.6)

  • #ABC86E

    #ABC86E

    oklch(79.1% 0.121 123.8)

  • #45CEE9

    #45CEE9

    oklch(78.9% 0.121 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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