#CA87C2

Closest named color: Pale Purple (#B790D4). oklch(71% 0.113 331), rgb(202, 135, 194).

Aa

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

About this color

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

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

Values

HEX#CA87C2
RGBrgb(202, 135, 194)
HSLhsl(307, 39%, 66%)
OKLCHoklch(71% 0.113 331)

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 #CA87C2 2.70:1 Fails Lc -57.6 Large or bold text, headings
Black text on #CA87C2 7.75:1 AAA Lc 51.7 Large or bold text, headings
#CA87C2 text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#CA87C2 text on black 7.75: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

    #DCB1D6

    oklch(81% 0.07 330.9)

  5. Step 400

    400 (this color)

    #CA87C2

    oklch(71% 0.113 331)

  6. Step 500

    500

    #BA66B1

    oklch(63.2% 0.144 331.2)

  7. Step 600

    600

    #A54B9D

    oklch(55.7% 0.156 330.9)

  8. Step 700

    700

    #8D3B86

    oklch(49.1% 0.146 330.9)

  9. Step 800

    800

    #73326D

    oklch(42.8% 0.12 331.1)

  10. Step 900

    900

    #5D2C58

    oklch(37.6% 0.095 331.2)

  11. Step 950

    950

    #371B34

    oklch(27.2% 0.059 331.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA87C2 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)#8597C40.107
Deuteranopia (no green cones)#95A0C00.098
Tritanopia (no blue cones)#CF8B9C0.061
Achromatopsia (no color)#9D9D9D0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87C2

    #CA87C2

    oklch(71% 0.113 331)

  • #69B67D

    #69B67D

    oklch(71.1% 0.113 151)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87C2

    #CA87C2

    oklch(71% 0.113 331)

  • #AD91DD

    #AD91DD

    oklch(71.1% 0.112 300.5)

  • #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°).

  • #CA87C2

    #CA87C2

    oklch(71% 0.113 331)

  • #97AC58

    #97AC58

    oklch(70.9% 0.113 120.9)

  • #39B8A5

    #39B8A5

    oklch(70.9% 0.113 180.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87C2

    #CA87C2

    oklch(71% 0.113 331)

  • #BC9F46

    #BC9F46

    oklch(71.1% 0.113 91.2)

  • #2FB4C9

    #2FB4C9

    oklch(71% 0.113 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87C2

    #CA87C2

    oklch(71% 0.113 331)

  • #D49054

    #D49054

    oklch(70.9% 0.112 60.8)

  • #69B67D

    #69B67D

    oklch(71.1% 0.113 151)

  • #5AAAE1

    #5AAAE1

    oklch(71% 0.113 240.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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