#CA87C1

Closest named color: Pale Purple (#B790D4). oklch(71% 0.112 331.5), rgb(202, 135, 193).

Aa

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

About this color

#CA87C1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.112 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.041 away. Black text reads best on it, at 7.74:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.74:1
White text2.71:1

Values

HEX#CA87C1
RGBrgb(202, 135, 193)
HSLhsl(308, 39%, 66%)
OKLCHoklch(71% 0.112 331.5)

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 #CA87C1 2.71:1 Fails Lc -57.6 Large or bold text, headings
Black text on #CA87C1 7.74:1 AAA Lc 51.6 Large or bold text, headings
#CA87C1 text on white 2.71:1 Fails Lc 52.4 Large or bold text, headings
#CA87C1 text on black 7.74:1 AAA Lc -49.5 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D0E5

    oklch(88.4% 0.039 331.2)

  4. Step 300

    300

    #DCB1D5

    oklch(81% 0.069 331.8)

  5. Step 400

    400 (this color)

    #CA87C1

    oklch(71% 0.112 331.5)

  6. Step 500

    500

    #BA66B0

    oklch(63.1% 0.143 331.6)

  7. Step 600

    600

    #A54B9C

    oklch(55.6% 0.156 331.4)

  8. Step 700

    700

    #8D3C85

    oklch(49.2% 0.144 331.5)

  9. Step 800

    800

    #73326C

    oklch(42.8% 0.119 331.7)

  10. Step 900

    900

    #5D2D58

    oklch(37.8% 0.093 331.2)

  11. Step 950

    950

    #371B33

    oklch(27.1% 0.058 332.5)

Export this scale for Tailwind in the Tailwind colors tool

#CA87C1 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)#8597C30.107
Deuteranopia (no green cones)#96A0BF0.097
Tritanopia (no blue cones)#D08B9C0.060
Achromatopsia (no color)#9D9D9D0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87C1

    #CA87C1

    oklch(71% 0.112 331.5)

  • #69B57E

    #69B57E

    oklch(70.9% 0.111 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87C1

    #CA87C1

    oklch(71% 0.112 331.5)

  • #AE91DC

    #AE91DC

    oklch(71.1% 0.111 301.4)

  • #DB839D

    #DB839D

    oklch(71% 0.112 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #CA87C1

    #CA87C1

    oklch(71% 0.112 331.5)

  • #96AC5A

    #96AC5A

    oklch(70.9% 0.111 121.6)

  • #3AB8A6

    #3AB8A6

    oklch(71% 0.112 181.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87C1

    #CA87C1

    oklch(71% 0.112 331.5)

  • #BB9F47

    #BB9F47

    oklch(71% 0.112 91.6)

  • #32B4C9

    #32B4C9

    oklch(71.1% 0.112 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87C1

    #CA87C1

    oklch(71% 0.112 331.5)

  • #D39154

    #D39154

    oklch(71% 0.111 62.2)

  • #69B57E

    #69B57E

    oklch(70.9% 0.111 151.6)

  • #5CAAE1

    #5CAAE1

    oklch(71.1% 0.112 241.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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