#CB87EA

Closest named color: Liliac (#C48EFD). oklch(72.9% 0.155 314.6), rgb(203, 135, 234).

Aa

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

About this color

#CB87EA is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.155 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.030 away. Black text reads best on it, at 8.19:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.19:1
White text2.56:1

Values

HEX#CB87EA
RGBrgb(203, 135, 234)
HSLhsl(281, 70%, 72%)
OKLCHoklch(72.9% 0.155 314.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 #CB87EA 2.56:1 Fails Lc -55.1 Large or bold text, headings
Black text on #CB87EA 8.19:1 AAA Lc 54.1 Large or bold text, headings
#CB87EA text on white 2.56:1 Fails Lc 50.0 Large or bold text, headings
#CB87EA text on black 8.19:1 AAA Lc -52.0 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

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D8AEEC

    oklch(80.9% 0.097 314.7)

  5. Step 400

    400 (this color)

    #CB87EA

    oklch(72.9% 0.155 314.6)

  6. Step 500

    500

    #B45BDA

    oklch(63% 0.198 314.5)

  7. Step 600

    600

    #A03BC8

    oklch(55.6% 0.216 314.6)

  8. Step 700

    700

    #892CAD

    oklch(49.2% 0.2 314.5)

  9. Step 800

    800

    #6F268C

    oklch(42.7% 0.167 314.5)

  10. Step 900

    900

    #5A2670

    oklch(37.8% 0.129 314.4)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB87EA 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)#759EEE0.128
Deuteranopia (no green cones)#86A4E70.118
Tritanopia (no blue cones)#C995AD0.106
Achromatopsia (no color)#A2A2A20.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB87EA

    #CB87EA

    oklch(72.9% 0.155 314.6)

  • #7CBC51

    #7CBC51

    oklch(72.9% 0.155 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB87EA

    #CB87EA

    oklch(72.9% 0.155 314.6)

  • #9E98FF

    #9E98FF

    oklch(72.8% 0.147 284.8)

  • #EA7CBE

    #EA7CBE

    oklch(72.9% 0.155 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #CB87EA

    #CB87EA

    oklch(72.9% 0.155 314.6)

  • #B7AB00

    #B7AB00

    oklch(72.8% 0.154 104.5)

  • #00C58E

    #00C58E

    oklch(72.9% 0.154 164.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB87EA

    #CB87EA

    oklch(72.9% 0.155 314.6)

  • #DF9600

    #DF9600

    oklch(72.8% 0.154 74.4)

  • #00BFBF

    #00BFBF

    oklch(72.9% 0.124 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB87EA

    #CB87EA

    oklch(72.9% 0.155 314.6)

  • #F5834E

    #F5834E

    oklch(72.7% 0.155 44.4)

  • #7CBC51

    #7CBC51

    oklch(72.9% 0.155 134.5)

  • #00B8E7

    #00B8E7

    oklch(72.8% 0.137 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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