#CA87DF

Closest named color: Lavender Pink (#DD85D7). oklch(72.3% 0.142 317.8), rgb(202, 135, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.142)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.04:1
White text2.61:1

Values

HEX#CA87DF
RGBrgb(202, 135, 223)
HSLhsl(286, 58%, 70%)
OKLCHoklch(72.3% 0.142 317.8)

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 #CA87DF 2.61:1 Fails Lc -55.9 Large or bold text, headings
Black text on #CA87DF 8.04:1 AAA Lc 53.2 Large or bold text, headings
#CA87DF text on white 2.61:1 Fails Lc 50.8 Large or bold text, headings
#CA87DF text on black 8.04:1 AAA Lc -51.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

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7CFEF

    oklch(88.4% 0.05 317.7)

  4. Step 300

    300

    #D9AFE6

    oklch(80.9% 0.088 318.1)

  5. Step 400

    400 (this color)

    #CA87DF

    oklch(72.3% 0.142 317.8)

  6. Step 500

    500

    #B55FCF

    oklch(63% 0.181 317.8)

  7. Step 600

    600

    #A141BC

    oklch(55.6% 0.198 318.1)

  8. Step 700

    700

    #8932A2

    oklch(49.1% 0.183 317.8)

  9. Step 800

    800

    #702B84

    oklch(42.8% 0.152 317.8)

  10. Step 900

    900

    #5B286A

    oklch(37.8% 0.12 317.9)

  11. Step 950

    950

    #35183E

    oklch(26.9% 0.076 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA87DF 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)#7A9CE20.121
Deuteranopia (no green cones)#8BA2DC0.110
Tritanopia (no blue cones)#CA92A90.092
Achromatopsia (no color)#A0A0A00.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87DF

    #CA87DF

    oklch(72.3% 0.142 317.8)

  • #77BA5E

    #77BA5E

    oklch(72.3% 0.143 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87DF

    #CA87DF

    oklch(72.3% 0.142 317.8)

  • #A195F9

    #A195F9

    oklch(72.1% 0.143 287.8)

  • #E57EB5

    #E57EB5

    oklch(72.3% 0.142 348)

Open the analogous palette in the generator

Split complementary

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

  • #CA87DF

    #CA87DF

    oklch(72.3% 0.142 317.8)

  • #AFAB2B

    #AFAB2B

    oklch(72.2% 0.142 107.6)

  • #1AC194

    #1AC194

    oklch(72.2% 0.142 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87DF

    #CA87DF

    oklch(72.3% 0.142 317.8)

  • #D69821

    #D69821

    oklch(72.2% 0.142 77.5)

  • #00BCC1

    #00BCC1

    oklch(72.2% 0.123 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87DF

    #CA87DF

    oklch(72.3% 0.142 317.8)

  • #EC8750

    #EC8750

    oklch(72.2% 0.142 47.9)

  • #77BA5E

    #77BA5E

    oklch(72.3% 0.143 137.8)

  • #00B5EA

    #00B5EA

    oklch(72.2% 0.141 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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