#CA87DD

Closest named color: Lavender Pink (#DD85D7). oklch(72.2% 0.14 318.6), rgb(202, 135, 221).

Aa

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

About this color

#CA87DD is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.140 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.033 away. Black text reads best on it, at 8.02:1.

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

Values

HEX#CA87DD
RGBrgb(202, 135, 221)
HSLhsl(287, 56%, 70%)
OKLCHoklch(72.2% 0.14 318.6)

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 #CA87DD 2.61:1 Fails Lc -56.0 Large or bold text, headings
Black text on #CA87DD 8.02:1 AAA Lc 53.1 Large or bold text, headings
#CA87DD text on white 2.61:1 Fails Lc 50.9 Large or bold text, headings
#CA87DD text on black 8.02:1 AAA Lc -51.0 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

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300

    #D9AFE5

    oklch(80.9% 0.087 318.6)

  5. Step 400

    400 (this color)

    #CA87DD

    oklch(72.2% 0.14 318.6)

  6. Step 500

    500

    #B660CD

    oklch(63.2% 0.178 318.8)

  7. Step 600

    600

    #A142BA

    oklch(55.6% 0.194 318.6)

  8. Step 700

    700

    #8A32A0

    oklch(49.1% 0.181 318.9)

  9. Step 800

    800

    #702B82

    oklch(42.7% 0.15 318.7)

  10. Step 900

    900

    #5B2868

    oklch(37.6% 0.117 319.1)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#CA87DD 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)#7B9BE00.119
Deuteranopia (no green cones)#8CA2DA0.109
Tritanopia (no blue cones)#CA92A80.091
Achromatopsia (no color)#A0A0A00.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87DD

    #CA87DD

    oklch(72.2% 0.14 318.6)

  • #76BA61

    #76BA61

    oklch(72.3% 0.14 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87DD

    #CA87DD

    oklch(72.2% 0.14 318.6)

  • #A295F7

    #A295F7

    oklch(72.1% 0.14 288.4)

  • #E47EB4

    #E47EB4

    oklch(72.1% 0.14 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #CA87DD

    #CA87DD

    oklch(72.2% 0.14 318.6)

  • #ADAB2F

    #ADAB2F

    oklch(72.1% 0.14 108.5)

  • #1DC195

    #1DC195

    oklch(72.3% 0.141 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87DD

    #CA87DD

    oklch(72.2% 0.14 318.6)

  • #D49924

    #D49924

    oklch(72.2% 0.14 78.8)

  • #00BCC1

    #00BCC1

    oklch(72.2% 0.123 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87DD

    #CA87DD

    oklch(72.2% 0.14 318.6)

  • #EB8850

    #EB8850

    oklch(72.3% 0.14 48.7)

  • #76BA61

    #76BA61

    oklch(72.3% 0.14 138.7)

  • #0BB5EA

    #0BB5EA

    oklch(72.3% 0.14 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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