#CE87EC

Closest named color: Liliac (#C48EFD). oklch(73.3% 0.159 315.3), rgb(206, 135, 236).

Aa

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

About this color

#CE87EC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.159 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.30:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.159)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.30:1
White text2.52:1

Values

HEX#CE87EC
RGBrgb(206, 135, 236)
HSLhsl(282, 73%, 73%)
OKLCHoklch(73.3% 0.159 315.3)

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 #CE87EC 2.52:1 Fails Lc -54.5 Large or bold text, headings
Black text on #CE87EC 8.30:1 AAA Lc 54.6 Large or bold text, headings
#CE87EC text on white 2.52:1 Fails Lc 49.4 Large or bold text, headings
#CE87EC text on black 8.30:1 AAA Lc -52.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

    #F1E4F7

    oklch(93.5% 0.029 315.3)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADED

    oklch(80.8% 0.1 315.1)

  5. Step 400

    400 (this color)

    #CE87EC

    oklch(73.3% 0.159 315.3)

  6. Step 500

    500

    #B659DB

    oklch(63% 0.203 315.2)

  7. Step 600

    600

    #A238C8

    oklch(55.6% 0.22 315.5)

  8. Step 700

    700

    #8A28AD

    oklch(49% 0.205 315.2)

  9. Step 800

    800

    #70248C

    oklch(42.6% 0.169 315.2)

  10. Step 900

    900

    #5B2470

    oklch(37.6% 0.132 315.3)

  11. Step 950

    950

    #351742

    oklch(27% 0.083 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#CE87EC 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)#759FF00.133
Deuteranopia (no green cones)#87A5E90.121
Tritanopia (no blue cones)#CC95AE0.107
Achromatopsia (no color)#A3A3A30.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #CE87EC

    #CE87EC

    oklch(73.3% 0.159 315.3)

  • #7ABE51

    #7ABE51

    oklch(73.2% 0.159 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CE87EC

    #CE87EC

    oklch(73.3% 0.159 315.3)

  • #A09AFF

    #A09AFF

    oklch(73.3% 0.144 285)

  • #ED7CBF

    #ED7CBF

    oklch(73.3% 0.158 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #CE87EC

    #CE87EC

    oklch(73.3% 0.159 315.3)

  • #B7AD00

    #B7AD00

    oklch(73.3% 0.156 105.5)

  • #00C691

    #00C691

    oklch(73.3% 0.153 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CE87EC

    #CE87EC

    oklch(73.3% 0.159 315.3)

  • #E09800

    #E09800

    oklch(73.3% 0.154 75.2)

  • #00C0C1

    #00C0C1

    oklch(73.2% 0.125 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CE87EC

    #CE87EC

    oklch(73.3% 0.159 315.3)

  • #F8844B

    #F8844B

    oklch(73.3% 0.159 45.3)

  • #7ABE51

    #7ABE51

    oklch(73.2% 0.159 135.3)

  • #00BAEA

    #00BAEA

    oklch(73.4% 0.139 224.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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