#CB7DFA

Closest named color: Light Purple (#BF77F6). oklch(72.1% 0.189 311.3), rgb(203, 125, 250).

Aa

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

About this color

#CB7DFA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.189 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.026 away. Black text reads best on it, at 7.85:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.189)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.85:1
White text2.67:1

Values

HEX#CB7DFA
RGBrgb(203, 125, 250)
HSLhsl(277, 93%, 74%)
OKLCHoklch(72.1% 0.189 311.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 #CB7DFA 2.67:1 Fails Lc -56.8 Large or bold text, headings
Black text on #CB7DFA 7.85:1 AAA Lc 52.4 Large or bold text, headings
#CB7DFA text on white 2.67:1 Fails Lc 51.6 Large or bold text, headings
#CB7DFA text on black 7.85:1 AAA Lc -50.2 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 400.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CDF9

    oklch(88.4% 0.066 311.4)

  4. Step 300

    300

    #D9AAF9

    oklch(80.8% 0.119 311)

  5. Step 400

    400 (this color)

    #CB7DFA

    oklch(72.1% 0.189 311.3)

  6. Step 500

    500

    #B84CF1

    oklch(63.1% 0.242 311.4)

  7. Step 600

    600

    #A41EDF

    oklch(55.6% 0.262 311.5)

  8. Step 700

    700

    #8C05C2

    oklch(49.1% 0.244 311.2)

  9. Step 800

    800

    #72119D

    oklch(42.7% 0.202 311.4)

  10. Step 900

    900

    #5C1B7D

    oklch(37.7% 0.158 311.2)

  11. Step 950

    950

    #361349

    oklch(27.1% 0.099 311.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB7DFA 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)#5E9AFE0.156
Deuteranopia (no green cones)#75A0F70.141
Tritanopia (no blue cones)#C691B00.131
Achromatopsia (no color)#9E9E9E0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7DFA

    #CB7DFA

    oklch(72.1% 0.189 311.3)

  • #78BB1E

    #78BB1E

    oklch(72% 0.188 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7DFA

    #CB7DFA

    oklch(72.1% 0.189 311.3)

  • #9698FF

    #9698FF

    oklch(72.2% 0.148 281.2)

  • #F06EC7

    #F06EC7

    oklch(72.1% 0.188 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #CB7DFA

    #CB7DFA

    oklch(72.1% 0.189 311.3)

  • #B9A700

    #B9A700

    oklch(72.1% 0.151 101.7)

  • #00C384

    #00C384

    oklch(72.2% 0.16 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7DFA

    #CB7DFA

    oklch(72.1% 0.189 311.3)

  • #E09200

    #E09200

    oklch(72.2% 0.155 71.6)

  • #00BDB8

    #00BDB8

    oklch(72.1% 0.124 191.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7DFA

    #CB7DFA

    oklch(72.1% 0.189 311.3)

  • #FF773F

    #FF773F

    oklch(72.2% 0.18 41.5)

  • #78BB1E

    #78BB1E

    oklch(72% 0.188 131.3)

  • #00B7DF

    #00B7DF

    oklch(72.2% 0.132 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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