#CB87E1

Closest named color: Lavender Pink (#DD85D7). oklch(72.4% 0.145 317.6), rgb(203, 135, 225).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.09:1
White text2.59:1

Values

HEX#CB87E1
RGBrgb(203, 135, 225)
HSLhsl(285, 60%, 71%)
OKLCHoklch(72.4% 0.145 317.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 #CB87E1 2.59:1 Fails Lc -55.6 Large or bold text, headings
Black text on #CB87E1 8.09:1 AAA Lc 53.5 Large or bold text, headings
#CB87E1 text on white 2.59:1 Fails Lc 50.5 Large or bold text, headings
#CB87E1 text on black 8.09:1 AAA Lc -51.4 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

    #E7CFEF

    oklch(88.4% 0.05 317.7)

  4. Step 300

    300

    #D9AFE7

    oklch(81% 0.089 317.6)

  5. Step 400

    400 (this color)

    #CB87E1

    oklch(72.4% 0.145 317.6)

  6. Step 500

    500

    #B65ED1

    oklch(63.1% 0.185 317.7)

  7. Step 600

    600

    #A140BE

    oklch(55.6% 0.201 317.5)

  8. Step 700

    700

    #8A30A4

    oklch(49.1% 0.188 317.6)

  9. Step 800

    800

    #702A85

    oklch(42.8% 0.155 317.5)

  10. Step 900

    900

    #5B276A

    oklch(37.6% 0.121 318.1)

  11. Step 950

    950

    #35183E

    oklch(26.9% 0.076 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#CB87E1 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)#799CE40.123
Deuteranopia (no green cones)#8BA3DE0.112
Tritanopia (no blue cones)#CB93A90.096
Achromatopsia (no color)#A1A1A10.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB87E1

    #CB87E1

    oklch(72.4% 0.145 317.6)

  • #77BB5D

    #77BB5D

    oklch(72.5% 0.145 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB87E1

    #CB87E1

    oklch(72.4% 0.145 317.6)

  • #A296FB

    #A296FB

    oklch(72.5% 0.144 287.7)

  • #E77EB7

    #E77EB7

    oklch(72.6% 0.145 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #CB87E1

    #CB87E1

    oklch(72.4% 0.145 317.6)

  • #B0AC26

    #B0AC26

    oklch(72.5% 0.145 107.7)

  • #11C294

    #11C294

    oklch(72.4% 0.145 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB87E1

    #CB87E1

    oklch(72.4% 0.145 317.6)

  • #D8981B

    #D8981B

    oklch(72.4% 0.145 77.2)

  • #00BDC1

    #00BDC1

    oklch(72.4% 0.123 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB87E1

    #CB87E1

    oklch(72.4% 0.145 317.6)

  • #EE874F

    #EE874F

    oklch(72.5% 0.145 47.8)

  • #77BB5D

    #77BB5D

    oklch(72.5% 0.145 137.7)

  • #00B6EA

    #00B6EA

    oklch(72.4% 0.14 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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