#CB9BEF

Closest named color: Baby Purple (#CA9BF7). oklch(76.4% 0.127 309.8), rgb(203, 155, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.47:1
White text2.21:1

Values

HEX#CB9BEF
RGBrgb(203, 155, 239)
HSLhsl(274, 72%, 77%)
OKLCHoklch(76.4% 0.127 309.8)

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 #CB9BEF 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #CB9BEF 9.47:1 AAA Lc 60.4 Content text, not long reading
#CB9BEF text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#CB9BEF text on black 9.47:1 AAA Lc -58.6 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E7CDFD

    oklch(88.5% 0.07 309.3)

  4. Step 300

    300 (this color)

    #CB9BEF

    oklch(76.4% 0.127 309.8)

  5. Step 400

    400

    #C775FE

    oklch(70.8% 0.204 309.8)

  6. Step 500

    500

    #B844FB

    oklch(63% 0.26 309.7)

  7. Step 600

    600

    #A400EA

    oklch(55.6% 0.282 309.6)

  8. Step 700

    700

    #8B00C6

    oklch(49.1% 0.249 309.9)

  9. Step 800

    800

    #7200A4

    oklch(42.7% 0.216 309.7)

  10. Step 900

    900

    #5C1583

    oklch(37.7% 0.17 309.4)

  11. Step 950

    950

    #36104C

    oklch(26.9% 0.107 310)

Export this scale for Tailwind in the Tailwind colors tool

#CB9BEF 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)#8BACF20.094
Deuteranopia (no green cones)#96AFED0.086
Tritanopia (no blue cones)#C7A7BA0.092
Achromatopsia (no color)#AEAEAE0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB9BEF

    #CB9BEF

    oklch(76.4% 0.127 309.8)

  • #98C269

    #98C269

    oklch(76.3% 0.126 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB9BEF

    #CB9BEF

    oklch(76.4% 0.127 309.8)

  • #A3A9FF

    #A3A9FF

    oklch(76.4% 0.123 280)

  • #E891CC

    #E891CC

    oklch(76.4% 0.128 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB9BEF

    #CB9BEF

    oklch(76.4% 0.127 309.8)

  • #C6B44A

    #C6B44A

    oklch(76.5% 0.127 99.7)

  • #5FCB96

    #5FCB96

    oklch(76.4% 0.127 159.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB9BEF

    #CB9BEF

    oklch(76.4% 0.127 309.8)

  • #E6A34F

    #E6A34F

    oklch(76.4% 0.128 69.9)

  • #22CCC4

    #22CCC4

    oklch(76.5% 0.127 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB9BEF

    #CB9BEF

    oklch(76.4% 0.127 309.8)

  • #F79573

    #F79573

    oklch(76.5% 0.128 39.8)

  • #98C269

    #98C269

    oklch(76.3% 0.126 129.7)

  • #34C5EA

    #34C5EA

    oklch(76.5% 0.127 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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