#CA87D2

Closest named color: Lavender Pink (#DD85D7). oklch(71.7% 0.128 323), rgb(202, 135, 210).

Aa

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

About this color

#CA87D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.128 and its hue 323°. 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 7.90:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.90:1
White text2.65:1

Values

HEX#CA87D2
RGBrgb(202, 135, 210)
HSLhsl(294, 45%, 68%)
OKLCHoklch(71.7% 0.128 323)

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 #CA87D2 2.65:1 Fails Lc -56.7 Large or bold text, headings
Black text on #CA87D2 7.90:1 AAA Lc 52.5 Large or bold text, headings
#CA87D2 text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#CA87D2 text on black 7.90:1 AAA Lc -50.4 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

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E8D0EB

    oklch(88.5% 0.045 322.5)

  4. Step 300

    300

    #DAB0DF

    oklch(80.9% 0.079 322.8)

  5. Step 400

    400 (this color)

    #CA87D2

    oklch(71.7% 0.128 323)

  6. Step 500

    500

    #B762C2

    oklch(63% 0.164 322.9)

  7. Step 600

    600

    #A346AE

    oklch(55.7% 0.178 323.3)

  8. Step 700

    700

    #8B3796

    oklch(49.2% 0.166 322.9)

  9. Step 800

    800

    #712E79

    oklch(42.6% 0.137 323.3)

  10. Step 900

    900

    #5C2A62

    oklch(37.7% 0.108 323.2)

  11. Step 950

    950

    #361939

    oklch(26.9% 0.069 323.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA87D2 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)#7F9AD50.115
Deuteranopia (no green cones)#90A2D00.105
Tritanopia (no blue cones)#CD8FA30.079
Achromatopsia (no color)#9F9F9F0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87D2

    #CA87D2

    oklch(71.7% 0.128 323)

  • #71B86D

    #71B86D

    oklch(71.7% 0.128 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87D2

    #CA87D2

    oklch(71.7% 0.128 323)

  • #A793EC

    #A793EC

    oklch(71.6% 0.128 293.2)

  • #E180AA

    #E180AA

    oklch(71.7% 0.129 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #CA87D2

    #CA87D2

    oklch(71.7% 0.128 323)

  • #A4AC43

    #A4AC43

    oklch(71.7% 0.129 113.3)

  • #2ABD9C

    #2ABD9C

    oklch(71.6% 0.128 173.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87D2

    #CA87D2

    oklch(71.7% 0.128 323)

  • #CA9B34

    #CA9B34

    oklch(71.6% 0.128 83.1)

  • #00B9C5

    #00B9C5

    oklch(71.6% 0.122 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87D2

    #CA87D2

    oklch(71.7% 0.128 323)

  • #E28B51

    #E28B51

    oklch(71.7% 0.129 52.9)

  • #71B86D

    #71B86D

    oklch(71.7% 0.128 143)

  • #3BB0E7

    #3BB0E7

    oklch(71.6% 0.129 233.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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