#CF87DB

Closest named color: Lavender Pink (#DD85D7). oklch(72.6% 0.141 321.7), rgb(207, 135, 219).

Aa

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

About this color

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

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

Values

HEX#CF87DB
RGBrgb(207, 135, 219)
HSLhsl(291, 54%, 69%)
OKLCHoklch(72.6% 0.141 321.7)

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 #CF87DB 2.57:1 Fails Lc -55.4 Large or bold text, headings
Black text on #CF87DB 8.14:1 AAA Lc 53.8 Large or bold text, headings
#CF87DB text on white 2.57:1 Fails Lc 50.2 Large or bold text, headings
#CF87DB text on black 8.14:1 AAA Lc -51.7 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E9CFED

    oklch(88.5% 0.049 321.7)

  4. Step 300

    300

    #DCAEE3

    oklch(80.9% 0.089 321.9)

  5. Step 400

    400 (this color)

    #CF87DB

    oklch(72.6% 0.141 321.7)

  6. Step 500

    500

    #BA5EC9

    oklch(63.2% 0.179 321.9)

  7. Step 600

    600

    #A540B6

    oklch(55.7% 0.195 321.6)

  8. Step 700

    700

    #8D309C

    oklch(49% 0.182 321.8)

  9. Step 800

    800

    #732A7F

    oklch(42.8% 0.15 321.7)

  10. Step 900

    900

    #5D2766

    oklch(37.7% 0.118 321.7)

  11. Step 950

    950

    #37183C

    oklch(27.1% 0.075 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#CF87DB 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)#7D9CDE0.125
Deuteranopia (no green cones)#8FA4D80.114
Tritanopia (no blue cones)#D191A70.088
Achromatopsia (no color)#A1A1A10.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF87DB

    #CF87DB

    oklch(72.6% 0.141 321.7)

  • #70BC67

    #70BC67

    oklch(72.5% 0.141 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF87DB

    #CF87DB

    oklch(72.6% 0.141 321.7)

  • #A895F7

    #A895F7

    oklch(72.6% 0.14 291.4)

  • #E87FB0

    #E87FB0

    oklch(72.6% 0.14 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #CF87DB

    #CF87DB

    oklch(72.6% 0.141 321.7)

  • #AAAE34

    #AAAE34

    oklch(72.5% 0.141 111.3)

  • #03C29C

    #03C29C

    oklch(72.5% 0.14 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF87DB

    #CF87DB

    oklch(72.6% 0.141 321.7)

  • #D29C22

    #D29C22

    oklch(72.5% 0.141 81.9)

  • #00BDC7

    #00BDC7

    oklch(72.6% 0.124 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF87DB

    #CF87DB

    oklch(72.6% 0.141 321.7)

  • #EB8A4C

    #EB8A4C

    oklch(72.6% 0.141 51.4)

  • #70BC67

    #70BC67

    oklch(72.5% 0.141 141.7)

  • #21B5EF

    #21B5EF

    oklch(72.7% 0.141 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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