#CB7BEA

Closest named color: Light Purple (#BF77F6). oklch(71% 0.175 315.9), rgb(203, 123, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.175)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.56:1
White text2.77:1

Values

HEX#CB7BEA
RGBrgb(203, 123, 234)
HSLhsl(283, 73%, 70%)
OKLCHoklch(71% 0.175 315.9)

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 #CB7BEA 2.77:1 Fails Lc -58.5 Large or bold text, headings
Black text on #CB7BEA 7.56:1 AAA Lc 50.8 Large or bold text, headings
#CB7BEA text on white 2.77:1 Fails Lc 53.2 Large or bold text, headings
#CB7BEA text on black 7.56:1 AAA Lc -48.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 400.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CEF5

    oklch(88.6% 0.06 315.5)

  4. Step 300

    300

    #DCABF0

    oklch(80.9% 0.108 315.9)

  5. Step 400

    400 (this color)

    #CB7BEA

    oklch(71% 0.175 315.9)

  6. Step 500

    500

    #BC51E2

    oklch(63.2% 0.223 316)

  7. Step 600

    600

    #A72AD0

    oklch(55.6% 0.243 315.8)

  8. Step 700

    700

    #8F18B4

    oklch(49.1% 0.226 315.8)

  9. Step 800

    800

    #741A92

    oklch(42.7% 0.187 315.6)

  10. Step 900

    900

    #5E1F74

    oklch(37.7% 0.145 315.9)

  11. Step 950

    950

    #371444

    oklch(27% 0.092 315.7)

Export this scale for Tailwind in the Tailwind colors tool

#CB7BEA 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)#6596EE0.151
Deuteranopia (no green cones)#7C9DE70.136
Tritanopia (no blue cones)#CA8BA80.115
Achromatopsia (no color)#9B9B9B0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7BEA

    #CB7BEA

    oklch(71% 0.175 315.9)

  • #6CB93E

    #6CB93E

    oklch(71.1% 0.175 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7BEA

    #CB7BEA

    oklch(71% 0.175 315.9)

  • #9A90FF

    #9A90FF

    oklch(71% 0.159 285.7)

  • #EB6EB8

    #EB6EB8

    oklch(70.9% 0.175 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #CB7BEA

    #CB7BEA

    oklch(71% 0.175 315.9)

  • #AFA600

    #AFA600

    oklch(71% 0.151 105.8)

  • #00BE8C

    #00BE8C

    oklch(71.1% 0.148 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7BEA

    #CB7BEA

    oklch(71% 0.175 315.9)

  • #D69200

    #D69200

    oklch(71% 0.149 75.8)

  • #00B8BA

    #00B8BA

    oklch(70.9% 0.121 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7BEA

    #CB7BEA

    oklch(71% 0.175 315.9)

  • #F77832

    #F77832

    oklch(71.1% 0.175 46)

  • #6CB93E

    #6CB93E

    oklch(71.1% 0.175 135.9)

  • #00B2E2

    #00B2E2

    oklch(71.1% 0.136 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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