#CA87D6

Closest named color: Lavender Pink (#DD85D7). oklch(71.9% 0.133 321.3), rgb(202, 135, 214).

Aa

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

About this color

#CA87D6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.133 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.032 away. Black text reads best on it, at 7.94:1.

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

Values

HEX#CA87D6
RGBrgb(202, 135, 214)
HSLhsl(291, 49%, 68%)
OKLCHoklch(71.9% 0.133 321.3)

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 #CA87D6 2.64:1 Fails Lc -56.5 Large or bold text, headings
Black text on #CA87D6 7.94:1 AAA Lc 52.7 Large or bold text, headings
#CA87D6 text on white 2.64:1 Fails Lc 51.3 Large or bold text, headings
#CA87D6 text on black 7.94:1 AAA Lc -50.6 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

    #E8D0EC

    oklch(88.6% 0.046 321.4)

  4. Step 300

    300

    #DAAFE1

    oklch(80.8% 0.083 321.6)

  5. Step 400

    400 (this color)

    #CA87D6

    oklch(71.9% 0.133 321.3)

  6. Step 500

    500

    #B761C6

    oklch(63.1% 0.17 321.5)

  7. Step 600

    600

    #A245B3

    oklch(55.7% 0.184 321.2)

  8. Step 700

    700

    #8B359A

    oklch(49.2% 0.172 321.4)

  9. Step 800

    800

    #712D7D

    oklch(42.8% 0.143 321.4)

  10. Step 900

    900

    #5B2A64

    oklch(37.7% 0.11 321.2)

  11. Step 950

    950

    #36193B

    oklch(27.1% 0.071 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA87D6 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)#7E9AD90.116
Deuteranopia (no green cones)#8EA2D40.107
Tritanopia (no blue cones)#CC90A50.083
Achromatopsia (no color)#9F9F9F0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87D6

    #CA87D6

    oklch(71.9% 0.133 321.3)

  • #72B968

    #72B968

    oklch(71.9% 0.134 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87D6

    #CA87D6

    oklch(71.9% 0.133 321.3)

  • #A594F0

    #A594F0

    oklch(71.8% 0.132 291.2)

  • #E27FAE

    #E27FAE

    oklch(71.8% 0.133 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #CA87D6

    #CA87D6

    oklch(71.9% 0.133 321.3)

  • #A8AC3C

    #A8AC3C

    oklch(72% 0.133 111.3)

  • #26BE99

    #26BE99

    oklch(71.7% 0.132 171.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87D6

    #CA87D6

    oklch(71.9% 0.133 321.3)

  • #CE9A2F

    #CE9A2F

    oklch(71.8% 0.133 81)

  • #00BAC4

    #00BAC4

    oklch(71.8% 0.122 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87D6

    #CA87D6

    oklch(71.9% 0.133 321.3)

  • #E58A51

    #E58A51

    oklch(71.9% 0.133 51.3)

  • #72B968

    #72B968

    oklch(71.9% 0.134 141.3)

  • #30B2E8

    #30B2E8

    oklch(71.9% 0.133 231.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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