#CBA2F2

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.119 307.3), rgb(203, 162, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.98:1
White text2.10:1

Values

HEX#CBA2F2
RGBrgb(203, 162, 242)
HSLhsl(271, 75%, 79%)
OKLCHoklch(77.8% 0.119 307.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 #CBA2F2 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #CBA2F2 9.98:1 AAA Lc 62.9 Content text, not long reading
#CBA2F2 text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#CBA2F2 text on black 9.98:1 AAA Lc -61.2 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E5CEFC

    oklch(88.5% 0.067 307.6)

  4. Step 300

    300 (this color)

    #CBA2F2

    oklch(77.8% 0.119 307.3)

  5. Step 400

    400

    #C07BFB

    oklch(70.7% 0.189 307.1)

  6. Step 500

    500

    #B14FF8

    oklch(63.1% 0.243 307.3)

  7. Step 600

    600

    #9D23E7

    oklch(55.6% 0.264 307.2)

  8. Step 700

    700

    #860CC9

    oklch(49% 0.246 307.1)

  9. Step 800

    800

    #6D14A2

    oklch(42.6% 0.204 307.4)

  10. Step 900

    900

    #581D81

    oklch(37.7% 0.159 307.1)

  11. Step 950

    950

    #34134B

    oklch(27% 0.101 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#CBA2F2 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)#92B1F50.083
Deuteranopia (no green cones)#9BB3F00.076
Tritanopia (no blue cones)#C6ADBF0.088
Achromatopsia (no color)#B3B3B30.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA2F2

    #CBA2F2

    oklch(77.8% 0.119 307.3)

  • #A2C56F

    #A2C56F

    oklch(77.8% 0.119 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA2F2

    #CBA2F2

    oklch(77.8% 0.119 307.3)

  • #A5B0FF

    #A5B0FF

    oklch(77.9% 0.113 277.3)

  • #E899D2

    #E899D2

    oklch(77.9% 0.119 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #CBA2F2

    #CBA2F2

    oklch(77.8% 0.119 307.3)

  • #CCB757

    #CCB757

    oklch(77.8% 0.119 97.1)

  • #70CE98

    #70CE98

    oklch(77.9% 0.12 156.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA2F2

    #CBA2F2

    oklch(77.8% 0.119 307.3)

  • #E9A75E

    #E9A75E

    oklch(77.7% 0.119 67.3)

  • #42CFC4

    #42CFC4

    oklch(77.8% 0.119 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA2F2

    #CBA2F2

    oklch(77.8% 0.119 307.3)

  • #F89B7F

    #F89B7F

    oklch(77.8% 0.119 37.5)

  • #A2C56F

    #A2C56F

    oklch(77.8% 0.119 127.1)

  • #47C9E8

    #47C9E8

    oklch(77.8% 0.119 217)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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