#CBA2EF

Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.115 308.2), rgb(203, 162, 239).

Aa

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

About this color

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

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

Values

HEX#CBA2EF
RGBrgb(203, 162, 239)
HSLhsl(272, 71%, 79%)
OKLCHoklch(77.7% 0.115 308.2)

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 #CBA2EF 2.10:1 Fails Lc -45.9 Large or bold text, headings
Black text on #CBA2EF 9.95:1 AAA Lc 62.7 Content text, not long reading
#CBA2EF text on white 2.10:1 Fails Lc 41.3 Non-text elements, placeholder text
#CBA2EF text on black 9.95:1 AAA Lc -61.0 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

    #E5CEFA

    oklch(88.4% 0.064 308.6)

  4. Step 300

    300 (this color)

    #CBA2EF

    oklch(77.7% 0.115 308.2)

  5. Step 400

    400

    #C17CF7

    oklch(70.8% 0.184 308.3)

  6. Step 500

    500

    #B151F3

    oklch(63% 0.236 308.2)

  7. Step 600

    600

    #9D28E2

    oklch(55.5% 0.256 308.1)

  8. Step 700

    700

    #8715C4

    oklch(49.1% 0.238 308.5)

  9. Step 800

    800

    #6D199F

    oklch(42.7% 0.197 308)

  10. Step 900

    900

    #581F7E

    oklch(37.6% 0.153 308)

  11. Step 950

    950

    #34144A

    oklch(27% 0.098 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#CBA2EF 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)#94B1F20.081
Deuteranopia (no green cones)#9CB3ED0.075
Tritanopia (no blue cones)#C6ADBE0.085
Achromatopsia (no color)#B2B2B20.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA2EF

    #CBA2EF

    oklch(77.7% 0.115 308.2)

  • #A1C573

    #A1C573

    oklch(77.8% 0.116 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA2EF

    #CBA2EF

    oklch(77.7% 0.115 308.2)

  • #A5AFFF

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  • #E699D0

    #E699D0

    oklch(77.6% 0.115 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #CBA2EF

    #CBA2EF

    oklch(77.7% 0.115 308.2)

  • #CAB75B

    #CAB75B

    oklch(77.7% 0.115 97.9)

  • #71CD9A

    #71CD9A

    oklch(77.7% 0.116 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA2EF

    #CBA2EF

    oklch(77.7% 0.115 308.2)

  • #E7A861

    #E7A861

    oklch(77.7% 0.115 68)

  • #48CEC4

    #48CEC4

    oklch(77.7% 0.115 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA2EF

    #CBA2EF

    oklch(77.7% 0.115 308.2)

  • #F69C7F

    #F69C7F

    oklch(77.7% 0.116 38.6)

  • #A1C573

    #A1C573

    oklch(77.8% 0.116 128.2)

  • #4EC8E7

    #4EC8E7

    oklch(77.7% 0.115 217.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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