#CF87EE

Closest named color: Liliac (#C48EFD). oklch(73.5% 0.161 315.1), rgb(207, 135, 238).

Aa

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

About this color

#CF87EE is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.161 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.029 away. Black text reads best on it, at 8.35:1.

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

Values

HEX#CF87EE
RGBrgb(207, 135, 238)
HSLhsl(282, 75%, 73%)
OKLCHoklch(73.5% 0.161 315.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 #CF87EE 2.51:1 Fails Lc -54.2 Large or bold text, headings
Black text on #CF87EE 8.35:1 AAA Lc 54.9 Large or bold text, headings
#CF87EE text on white 2.51:1 Fails Lc 49.1 Large or bold text, headings
#CF87EE text on black 8.35:1 AAA Lc -52.9 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

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADEE

    oklch(80.9% 0.101 314.6)

  5. Step 400

    400 (this color)

    #CF87EE

    oklch(73.5% 0.161 315.1)

  6. Step 500

    500

    #B758DD

    oklch(63.1% 0.207 315.1)

  7. Step 600

    600

    #A236CA

    oklch(55.5% 0.224 315.1)

  8. Step 700

    700

    #8B26AF

    oklch(49.1% 0.209 315.1)

  9. Step 800

    800

    #71238E

    oklch(42.8% 0.173 315)

  10. Step 900

    900

    #5B2471

    oklch(37.7% 0.134 314.8)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#CF87EE 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)#749FF20.135
Deuteranopia (no green cones)#87A5EB0.122
Tritanopia (no blue cones)#CD96AF0.110
Achromatopsia (no color)#A3A3A30.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF87EE

    #CF87EE

    oklch(73.5% 0.161 315.1)

  • #7ABF4F

    #7ABF4F

    oklch(73.5% 0.162 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF87EE

    #CF87EE

    oklch(73.5% 0.161 315.1)

  • #A19BFF

    #A19BFF

    oklch(73.6% 0.143 285.1)

  • #EF7CC0

    #EF7CC0

    oklch(73.6% 0.161 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF87EE

    #CF87EE

    oklch(73.5% 0.161 315.1)

  • #B8AD00

    #B8AD00

    oklch(73.3% 0.156 105)

  • #00C791

    #00C791

    oklch(73.5% 0.154 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF87EE

    #CF87EE

    oklch(73.5% 0.161 315.1)

  • #E19900

    #E19900

    oklch(73.6% 0.155 75.3)

  • #00C1C2

    #00C1C2

    oklch(73.5% 0.125 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF87EE

    #CF87EE

    oklch(73.5% 0.161 315.1)

  • #FA844A

    #FA844A

    oklch(73.5% 0.161 45.2)

  • #7ABF4F

    #7ABF4F

    oklch(73.5% 0.162 135.1)

  • #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 #CF87EE, closest first.

Similar named colors

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

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