#CB7AEE

Closest named color: Light Purple (#BF77F6). oklch(71.1% 0.181 314.9), rgb(203, 122, 238).

Aa

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

About this color

#CB7AEE is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.181 and its hue 315°. 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.55:1.

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

Values

HEX#CB7AEE
RGBrgb(203, 122, 238)
HSLhsl(282, 77%, 71%)
OKLCHoklch(71.1% 0.181 314.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 #CB7AEE 2.77:1 Fails Lc -58.5 Large or bold text, headings
Black text on #CB7AEE 7.55:1 AAA Lc 50.8 Large or bold text, headings
#CB7AEE text on white 2.77:1 Fails Lc 53.2 Large or bold text, headings
#CB7AEE text on black 7.55: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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CDF6

    oklch(88.4% 0.063 315.1)

  4. Step 300

    300

    #DCAAF3

    oklch(80.8% 0.113 314.9)

  5. Step 400

    400 (this color)

    #CB7AEE

    oklch(71.1% 0.181 314.9)

  6. Step 500

    500

    #BB4EE7

    oklch(63.1% 0.231 314.6)

  7. Step 600

    600

    #A724D5

    oklch(55.6% 0.251 314.7)

  8. Step 700

    700

    #8F10B8

    oklch(49.1% 0.233 314.8)

  9. Step 800

    800

    #741695

    oklch(42.7% 0.193 314.7)

  10. Step 900

    900

    #5E1D77

    oklch(37.7% 0.151 314.7)

  11. Step 950

    950

    #371346

    oklch(27% 0.096 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#CB7AEE 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)#6196F20.156
Deuteranopia (no green cones)#799DEB0.139
Tritanopia (no blue cones)#C98CA90.122
Achromatopsia (no color)#9B9B9B0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7AEE

    #CB7AEE

    oklch(71.1% 0.181 314.9)

  • #6DB935

    #6DB935

    oklch(71% 0.18 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7AEE

    #CB7AEE

    oklch(71.1% 0.181 314.9)

  • #9991FF

    #9991FF

    oklch(71.1% 0.157 285)

  • #ED6CBB

    #ED6CBB

    oklch(71% 0.181 345)

Open the analogous palette in the generator

Split complementary

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

  • #CB7AEE

    #CB7AEE

    oklch(71.1% 0.181 314.9)

  • #B1A600

    #B1A600

    oklch(71.2% 0.151 104.8)

  • #00BE8A

    #00BE8A

    oklch(71% 0.149 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7AEE

    #CB7AEE

    oklch(71.1% 0.181 314.9)

  • #D79200

    #D79200

    oklch(71.1% 0.15 75.3)

  • #00B9B9

    #00B9B9

    oklch(71.1% 0.121 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7AEE

    #CB7AEE

    oklch(71.1% 0.181 314.9)

  • #FA752F

    #FA752F

    oklch(71% 0.181 44.8)

  • #6DB935

    #6DB935

    oklch(71% 0.18 134.8)

  • #00B2E0

    #00B2E0

    oklch(71% 0.134 224.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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