#CF87E2

Closest named color: Lavender Pink (#DD85D7). oklch(72.9% 0.148 319.1), rgb(207, 135, 226).

Aa

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

About this color

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

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

Values

HEX#CF87E2
RGBrgb(207, 135, 226)
HSLhsl(287, 61%, 71%)
OKLCHoklch(72.9% 0.148 319.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 #CF87E2 2.55:1 Fails Lc -54.9 Large or bold text, headings
Black text on #CF87E2 8.21:1 AAA Lc 54.2 Large or bold text, headings
#CF87E2 text on white 2.55:1 Fails Lc 49.8 Large or bold text, headings
#CF87E2 text on black 8.21:1 AAA Lc -52.1 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

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DBAEE7

    oklch(81% 0.092 319.1)

  5. Step 400

    400 (this color)

    #CF87E2

    oklch(72.9% 0.148 319.1)

  6. Step 500

    500

    #B95CD0

    oklch(63.2% 0.189 319.3)

  7. Step 600

    600

    #A43DBD

    oklch(55.6% 0.205 319.2)

  8. Step 700

    700

    #8C2DA3

    oklch(49% 0.191 319)

  9. Step 800

    800

    #722784

    oklch(42.6% 0.159 319.2)

  10. Step 900

    900

    #5C266A

    oklch(37.6% 0.123 318.9)

  11. Step 950

    950

    #36173E

    oklch(26.9% 0.079 319)

Export this scale for Tailwind in the Tailwind colors tool

#CF87E2 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)#7A9DE50.128
Deuteranopia (no green cones)#8DA5DF0.117
Tritanopia (no blue cones)#D092AA0.095
Achromatopsia (no color)#A2A2A20.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF87E2

    #CF87E2

    oklch(72.9% 0.148 319.1)

  • #74BD5F

    #74BD5F

    oklch(72.9% 0.148 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF87E2

    #CF87E2

    oklch(72.9% 0.148 319.1)

  • #A596FE

    #A596FE

    oklch(72.9% 0.148 288.8)

  • #EA7EB6

    #EA7EB6

    oklch(72.9% 0.147 349)

Open the analogous palette in the generator

Split complementary

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

  • #CF87E2

    #CF87E2

    oklch(72.9% 0.148 319.1)

  • #AFAE24

    #AFAE24

    oklch(72.9% 0.148 109.1)

  • #00C498

    #00C498

    oklch(72.9% 0.146 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF87E2

    #CF87E2

    oklch(72.9% 0.148 319.1)

  • #D99A12

    #D99A12

    oklch(72.9% 0.148 78.6)

  • #00BEC5

    #00BEC5

    oklch(72.8% 0.124 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF87E2

    #CF87E2

    oklch(72.9% 0.148 319.1)

  • #F0884B

    #F0884B

    oklch(72.9% 0.148 49.2)

  • #74BD5F

    #74BD5F

    oklch(72.9% 0.148 139)

  • #00B7EF

    #00B7EF

    oklch(72.9% 0.144 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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