#CF87E8

Closest named color: Lavender Pink (#DD85D7). oklch(73.2% 0.155 317), rgb(207, 135, 232).

Aa

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

About this color

#CF87E8 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.155 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.034 away. Black text reads best on it, at 8.28:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.28:1
White text2.53:1

Values

HEX#CF87E8
RGBrgb(207, 135, 232)
HSLhsl(285, 68%, 72%)
OKLCHoklch(73.2% 0.155 317)

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 #CF87E8 2.53:1 Fails Lc -54.6 Large or bold text, headings
Black text on #CF87E8 8.28:1 AAA Lc 54.5 Large or bold text, headings
#CF87E8 text on white 2.53:1 Fails Lc 49.5 Large or bold text, headings
#CF87E8 text on black 8.28:1 AAA Lc -52.5 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CFF1

    oklch(88.6% 0.053 317.1)

  4. Step 300

    300

    #DAADEA

    oklch(80.8% 0.097 317.1)

  5. Step 400

    400 (this color)

    #CF87E8

    oklch(73.2% 0.155 317)

  6. Step 500

    500

    #B85AD7

    oklch(63.2% 0.198 317)

  7. Step 600

    600

    #A33AC4

    oklch(55.6% 0.215 316.9)

  8. Step 700

    700

    #8C2AA9

    oklch(49.2% 0.2 317.2)

  9. Step 800

    800

    #712589

    oklch(42.6% 0.166 316.8)

  10. Step 900

    900

    #5C256E

    oklch(37.8% 0.129 316.9)

  11. Step 950

    950

    #361740

    oklch(27% 0.081 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#CF87E8 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)#779EEC0.132
Deuteranopia (no green cones)#8AA5E50.120
Tritanopia (no blue cones)#CE94AD0.101
Achromatopsia (no color)#A3A3A30.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF87E8

    #CF87E8

    oklch(73.2% 0.155 317)

  • #77BE57

    #77BE57

    oklch(73.2% 0.155 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF87E8

    #CF87E8

    oklch(73.2% 0.155 317)

  • #A398FF

    #A398FF

    oklch(73.2% 0.147 287.1)

  • #ED7DBB

    #ED7DBB

    oklch(73.3% 0.154 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #CF87E8

    #CF87E8

    oklch(73.2% 0.155 317)

  • #B4AE0D

    #B4AE0D

    oklch(73.2% 0.155 107.1)

  • #00C594

    #00C594

    oklch(73.1% 0.15 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF87E8

    #CF87E8

    oklch(73.2% 0.155 317)

  • #DD9900

    #DD9900

    oklch(73.1% 0.153 77)

  • #00C0C3

    #00C0C3

    oklch(73.2% 0.125 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF87E8

    #CF87E8

    oklch(73.2% 0.155 317)

  • #F5864A

    #F5864A

    oklch(73.2% 0.155 47.3)

  • #77BE57

    #77BE57

    oklch(73.2% 0.155 136.9)

  • #00B9ED

    #00B9ED

    oklch(73.3% 0.142 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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