#CBA2FF

Closest named color: Pastel Purple (#CAA0FF). oklch(78.4% 0.135 303.7), rgb(203, 162, 255).

Aa

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

About this color

#CBA2FF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.135 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.005 away. Black text reads best on it, at 10.15:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text10.15:1
White text2.06:1

Values

HEX#CBA2FF
RGBrgb(203, 162, 255)
HSLhsl(266, 100%, 82%)
OKLCHoklch(78.4% 0.135 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 #CBA2FF 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #CBA2FF 10.15:1 AAA Lc 63.7 Content text, not long reading
#CBA2FF text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#CBA2FF text on black 10.15:1 AAA Lc -62.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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  3. Step 200

    200

    #E2CFFF

    oklch(88.5% 0.068 303.1)

  4. Step 300

    300 (this color)

    #CBA2FF

    oklch(78.4% 0.135 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

    #9B00F8

    oklch(55.6% 0.29 303.9)

  8. Step 700

    700

    #8200D3

    oklch(49.1% 0.257 303.5)

  9. Step 800

    800

    #6B00AF

    oklch(42.7% 0.224 303.5)

  10. Step 900

    900

    #58128D

    oklch(37.8% 0.181 303.9)

  11. Step 950

    950

    #330F52

    oklch(26.9% 0.114 304)

Export this scale for Tailwind in the Tailwind colors tool

#CBA2FF 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)#8DB3FF0.090
Deuteranopia (no green cones)#95B4FC0.083
Tritanopia (no blue cones)#C3B1C50.103
Achromatopsia (no color)#B4B4B40.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA2FF

    #CBA2FF

    oklch(78.4% 0.135 303.7)

  • #A7C760

    #A7C760

    oklch(78.4% 0.135 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA2FF

    #CBA2FF

    oklch(78.4% 0.135 303.7)

  • #A2B3FF

    #A2B3FF

    oklch(78.3% 0.11 273.9)

  • #EC96DD

    #EC96DD

    oklch(78.3% 0.136 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #CBA2FF

    #CBA2FF

    oklch(78.4% 0.135 303.7)

  • #D5B643

    #D5B643

    oklch(78.3% 0.135 93.8)

  • #6BD290

    #6BD290

    oklch(78.5% 0.136 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA2FF

    #CBA2FF

    oklch(78.4% 0.135 303.7)

  • #F5A453

    #F5A453

    oklch(78.4% 0.136 63.4)

  • #1DD4C2

    #1DD4C2

    oklch(78.3% 0.135 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA2FF

    #CBA2FF

    oklch(78.4% 0.135 303.7)

  • #FF9982

    #FF9982

    oklch(78.4% 0.127 33.6)

  • #A7C760

    #A7C760

    oklch(78.4% 0.135 123.8)

  • #15CEED

    #15CEED

    oklch(78.4% 0.135 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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