#CB87E4

Closest named color: Lavender Pink (#DD85D7). oklch(72.6% 0.148 316.6), rgb(203, 135, 228).

Aa

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

About this color

#CB87E4 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.148 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.035 away. Black text reads best on it, at 8.12:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.12:1
White text2.58:1

Values

HEX#CB87E4
RGBrgb(203, 135, 228)
HSLhsl(284, 63%, 71%)
OKLCHoklch(72.6% 0.148 316.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 #CB87E4 2.58:1 Fails Lc -55.5 Large or bold text, headings
Black text on #CB87E4 8.12:1 AAA Lc 53.7 Large or bold text, headings
#CB87E4 text on white 2.58:1 Fails Lc 50.3 Large or bold text, headings
#CB87E4 text on black 8.12:1 AAA Lc -51.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D9AEE9

    oklch(80.9% 0.094 316.7)

  5. Step 400

    400 (this color)

    #CB87E4

    oklch(72.6% 0.148 316.6)

  6. Step 500

    500

    #B55DD4

    oklch(63% 0.189 316.5)

  7. Step 600

    600

    #A13EC1

    oklch(55.6% 0.206 316.7)

  8. Step 700

    700

    #892FA7

    oklch(49.1% 0.191 316.3)

  9. Step 800

    800

    #702987

    oklch(42.8% 0.158 316.7)

  10. Step 900

    900

    #5B276C

    oklch(37.8% 0.123 317)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#CB87E4 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)#789DE70.125
Deuteranopia (no green cones)#89A3E10.114
Tritanopia (no blue cones)#CA93AB0.098
Achromatopsia (no color)#A1A1A10.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB87E4

    #CB87E4

    oklch(72.6% 0.148 316.6)

  • #79BB59

    #79BB59

    oklch(72.6% 0.148 136.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB87E4

    #CB87E4

    oklch(72.6% 0.148 316.6)

  • #A096FE

    #A096FE

    oklch(72.5% 0.148 286.5)

  • #E87DB9

    #E87DB9

    oklch(72.6% 0.149 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #CB87E4

    #CB87E4

    oklch(72.6% 0.148 316.6)

  • #B2AC1D

    #B2AC1D

    oklch(72.7% 0.149 106.9)

  • #0AC392

    #0AC392

    oklch(72.6% 0.148 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB87E4

    #CB87E4

    oklch(72.6% 0.148 316.6)

  • #DA9813

    #DA9813

    oklch(72.6% 0.148 76.9)

  • #00BEC0

    #00BEC0

    oklch(72.6% 0.124 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB87E4

    #CB87E4

    oklch(72.6% 0.148 316.6)

  • #F1864E

    #F1864E

    oklch(72.7% 0.149 46.8)

  • #79BB59

    #79BB59

    oklch(72.6% 0.148 136.4)

  • #00B7E9

    #00B7E9

    oklch(72.6% 0.139 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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