#CB9DFC

Closest named color: Pastel Purple (#CAA0FF). oklch(77.4% 0.14 305.6), rgb(203, 157, 252).

Aa

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

About this color

#CB9DFC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.140 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.007 away. Black text reads best on it, at 9.76:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.76:1
White text2.14:1

Values

HEX#CB9DFC
RGBrgb(203, 157, 252)
HSLhsl(269, 94%, 80%)
OKLCHoklch(77.4% 0.14 305.6)

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 #CB9DFC 2.14:1 Fails Lc -46.8 Large or bold text, headings
Black text on #CB9DFC 9.76:1 AAA Lc 61.8 Content text, not long reading
#CB9DFC text on white 2.14:1 Fails Lc 42.1 Non-text elements, placeholder text
#CB9DFC text on black 9.76:1 AAA Lc -60.1 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

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #CB9DFC

    oklch(77.4% 0.14 305.6)

  5. Step 400

    400

    #BE7BFF

    oklch(70.7% 0.193 305.4)

  6. Step 500

    500

    #B04CFF

    oklch(63.1% 0.253 305.8)

  7. Step 600

    600

    #9E00F4

    oklch(55.6% 0.288 305.7)

  8. Step 700

    700

    #8500CF

    oklch(49.1% 0.254 305.5)

  9. Step 800

    800

    #6E00AB

    oklch(42.7% 0.221 305.9)

  10. Step 900

    900

    #5A0B8D

    oklch(37.6% 0.186 305.4)

  11. Step 950

    950

    #350D53

    oklch(27.1% 0.118 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#CB9DFC 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)#88AFFF0.096
Deuteranopia (no green cones)#92B1F90.090
Tritanopia (no blue cones)#C4ACC10.105
Achromatopsia (no color)#B1B1B10.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB9DFC

    #CB9DFC

    oklch(77.4% 0.14 305.6)

  • #A0C55C

    #A0C55C

    oklch(77.4% 0.14 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB9DFC

    #CB9DFC

    oklch(77.4% 0.14 305.6)

  • #A1AFFF

    #A1AFFF

    oklch(77.4% 0.116 275.8)

  • #EC91D8

    #EC91D8

    oklch(77.3% 0.141 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #CB9DFC

    #CB9DFC

    oklch(77.4% 0.14 305.6)

  • #D0B43A

    #D0B43A

    oklch(77.3% 0.139 95.8)

  • #5FCF8F

    #5FCF8F

    oklch(77.2% 0.139 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB9DFC

    #CB9DFC

    oklch(77.4% 0.14 305.6)

  • #F1A149

    #F1A149

    oklch(77.3% 0.139 65.4)

  • #00D1C2

    #00D1C2

    oklch(77.4% 0.136 185.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB9DFC

    #CB9DFC

    oklch(77.4% 0.14 305.6)

  • #FF9478

    #FF9478

    oklch(77.4% 0.136 35.6)

  • #A0C55C

    #A0C55C

    oklch(77.4% 0.14 125.6)

  • #00CAEC

    #00CAEC

    oklch(77.3% 0.137 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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