#CF87ED

Closest named color: Liliac (#C48EFD). oklch(73.4% 0.16 315.4), rgb(207, 135, 237).

Aa

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

About this color

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

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

Values

HEX#CF87ED
RGBrgb(207, 135, 237)
HSLhsl(282, 74%, 73%)
OKLCHoklch(73.4% 0.16 315.4)

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 #CF87ED 2.51:1 Fails Lc -54.2 Large or bold text, headings
Black text on #CF87ED 8.34:1 AAA Lc 54.8 Large or bold text, headings
#CF87ED text on white 2.51:1 Fails Lc 49.2 Large or bold text, headings
#CF87ED 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

    #F1E4F7

    oklch(93.5% 0.029 315.3)

  3. Step 200

    200

    #E8CFF3

    oklch(88.6% 0.055 315.6)

  4. Step 300

    300

    #DAADED

    oklch(80.9% 0.1 315.7)

  5. Step 400

    400 (this color)

    #CF87ED

    oklch(73.4% 0.16 315.4)

  6. Step 500

    500

    #B758DC

    oklch(63.1% 0.206 315.4)

  7. Step 600

    600

    #A237C9

    oklch(55.5% 0.222 315.3)

  8. Step 700

    700

    #8B27AE

    oklch(49.1% 0.207 315.4)

  9. Step 800

    800

    #71238D

    oklch(42.7% 0.172 315.4)

  10. Step 900

    900

    #5B2470

    oklch(37.6% 0.132 315.3)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#CF87ED 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)#759FF10.134
Deuteranopia (no green cones)#88A5EA0.121
Tritanopia (no blue cones)#CD95AF0.107
Achromatopsia (no color)#A3A3A30.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF87ED

    #CF87ED

    oklch(73.4% 0.16 315.4)

  • #7ABF51

    #7ABF51

    oklch(73.5% 0.16 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF87ED

    #CF87ED

    oklch(73.4% 0.16 315.4)

  • #A19AFF

    #A19AFF

    oklch(73.4% 0.144 285.4)

  • #EE7CBF

    #EE7CBF

    oklch(73.4% 0.159 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #CF87ED

    #CF87ED

    oklch(73.4% 0.16 315.4)

  • #B8AE00

    #B8AE00

    oklch(73.6% 0.156 105.5)

  • #00C791

    #00C791

    oklch(73.5% 0.154 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF87ED

    #CF87ED

    oklch(73.4% 0.16 315.4)

  • #E09900

    #E09900

    oklch(73.5% 0.154 75.7)

  • #00C1C2

    #00C1C2

    oklch(73.5% 0.125 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF87ED

    #CF87ED

    oklch(73.4% 0.16 315.4)

  • #F9844A

    #F9844A

    oklch(73.4% 0.16 45.4)

  • #7ABF51

    #7ABF51

    oklch(73.5% 0.16 135.4)

  • #00BAEB

    #00BAEB

    oklch(73.4% 0.14 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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