#CB9EF5

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.129 307.3), rgb(203, 158, 245).

Aa

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

About this color

#CB9EF5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.129 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.009 away. Black text reads best on it, at 9.74:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.74:1
White text2.15:1

Values

HEX#CB9EF5
RGBrgb(203, 158, 245)
HSLhsl(271, 81%, 79%)
OKLCHoklch(77.2% 0.129 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 #CB9EF5 2.15:1 Fails Lc -46.9 Large or bold text, headings
Black text on #CB9EF5 9.74:1 AAA Lc 61.7 Content text, not long reading
#CB9EF5 text on white 2.15:1 Fails Lc 42.2 Non-text elements, placeholder text
#CB9EF5 text on black 9.74:1 AAA Lc -60.0 Large or bold text, headings

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

    #F0E4FE

    oklch(93.6% 0.037 306.4)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #CB9EF5

    oklch(77.2% 0.129 307.3)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B447FF

    oklch(63.1% 0.259 307.5)

  7. Step 600

    600

    #A100F0

    oklch(55.7% 0.286 307.4)

  8. Step 700

    700

    #8700CB

    oklch(49% 0.252 307.2)

  9. Step 800

    800

    #6F00A8

    oklch(42.6% 0.219 307.2)

  10. Step 900

    900

    #5A1586

    oklch(37.6% 0.172 307.2)

  11. Step 950

    950

    #35104F

    oklch(27% 0.11 307.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB9EF5 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)#8CAFF80.092
Deuteranopia (no green cones)#96B1F30.084
Tritanopia (no blue cones)#C5ABBE0.096
Achromatopsia (no color)#B1B1B10.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB9EF5

    #CB9EF5

    oklch(77.2% 0.129 307.3)

  • #9EC466

    #9EC466

    oklch(77.2% 0.129 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB9EF5

    #CB9EF5

    oklch(77.2% 0.129 307.3)

  • #A2AEFF

    #A2AEFF

    oklch(77.3% 0.117 276.9)

  • #EA94D2

    #EA94D2

    oklch(77.3% 0.129 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB9EF5

    #CB9EF5

    oklch(77.2% 0.129 307.3)

  • #CCB548

    #CCB548

    oklch(77.2% 0.13 97.3)

  • #65CE94

    #65CE94

    oklch(77.3% 0.13 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB9EF5

    #CB9EF5

    oklch(77.2% 0.129 307.3)

  • #EBA452

    #EBA452

    oklch(77.2% 0.129 67.7)

  • #23CFC3

    #23CFC3

    oklch(77.2% 0.129 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB9EF5

    #CB9EF5

    oklch(77.2% 0.129 307.3)

  • #FB9678

    #FB9678

    oklch(77.2% 0.129 37.3)

  • #9EC466

    #9EC466

    oklch(77.2% 0.129 127.3)

  • #2EC8EB

    #2EC8EB

    oklch(77.2% 0.129 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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