#CE87F0

Closest named color: Liliac (#C48EFD). oklch(73.5% 0.163 314.1), rgb(206, 135, 240).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.34:1
White text2.51:1

Values

HEX#CE87F0
RGBrgb(206, 135, 240)
HSLhsl(281, 78%, 74%)
OKLCHoklch(73.5% 0.163 314.1)

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 #CE87F0 2.51:1 Fails Lc -54.2 Large or bold text, headings
Black text on #CE87F0 8.34:1 AAA Lc 54.9 Large or bold text, headings
#CE87F0 text on white 2.51:1 Fails Lc 49.1 Large or bold text, headings
#CE87F0 text on black 8.34:1 AAA Lc -52.8 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

    #F1E4F8

    oklch(93.5% 0.03 314)

  3. Step 200

    200

    #E7CFF4

    oklch(88.6% 0.056 313.8)

  4. Step 300

    300

    #D9ADEF

    oklch(80.9% 0.102 314.2)

  5. Step 400

    400 (this color)

    #CE87F0

    oklch(73.5% 0.163 314.1)

  6. Step 500

    500

    #B658DF

    oklch(63.1% 0.208 314.2)

  7. Step 600

    600

    #A136CD

    oklch(55.6% 0.226 313.9)

  8. Step 700

    700

    #8A26B1

    oklch(49.1% 0.21 314.1)

  9. Step 800

    800

    #70238F

    oklch(42.7% 0.173 314.1)

  10. Step 900

    900

    #5B2372

    oklch(37.6% 0.136 314.5)

  11. Step 950

    950

    #351643

    oklch(26.9% 0.086 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#CE87F0 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)#739FF40.134
Deuteranopia (no green cones)#86A5ED0.122
Tritanopia (no blue cones)#CC96B00.111
Achromatopsia (no color)#A3A3A30.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #CE87F0

    #CE87F0

    oklch(73.5% 0.163 314.1)

  • #7CBF4C

    #7CBF4C

    oklch(73.5% 0.163 134.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CE87F0

    #CE87F0

    oklch(73.5% 0.163 314.1)

  • #9F9BFF

    #9F9BFF

    oklch(73.4% 0.143 284.1)

  • #EE7BC2

    #EE7BC2

    oklch(73.4% 0.163 344)

Open the analogous palette in the generator

Split complementary

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

  • #CE87F0

    #CE87F0

    oklch(73.5% 0.163 314.1)

  • #BAAD00

    #BAAD00

    oklch(73.5% 0.155 104.1)

  • #00C78E

    #00C78E

    oklch(73.4% 0.157 163.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CE87F0

    #CE87F0

    oklch(73.5% 0.163 314.1)

  • #E29800

    #E29800

    oklch(73.5% 0.156 74.3)

  • #00C1C0

    #00C1C0

    oklch(73.4% 0.125 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CE87F0

    #CE87F0

    oklch(73.5% 0.163 314.1)

  • #FB834B

    #FB834B

    oklch(73.5% 0.162 44.3)

  • #7CBF4C

    #7CBF4C

    oklch(73.5% 0.163 134.2)

  • #00BBE9

    #00BBE9

    oklch(73.6% 0.138 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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