#CA87BD

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.108 333.9), rgb(202, 135, 189).

Aa

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

About this color

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

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

Values

HEX#CA87BD
RGBrgb(202, 135, 189)
HSLhsl(312, 39%, 66%)
OKLCHoklch(70.8% 0.108 333.9)

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 #CA87BD 2.72:1 Fails Lc -57.8 Large or bold text, headings
Black text on #CA87BD 7.71:1 AAA Lc 51.4 Large or bold text, headings
#CA87BD text on white 2.72:1 Fails Lc 52.6 Large or bold text, headings
#CA87BD text on black 7.71:1 AAA Lc -49.3 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

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D0E4

    oklch(88.4% 0.038 332.6)

  4. Step 300

    300

    #DCB1D3

    oklch(80.9% 0.067 333.6)

  5. Step 400

    400 (this color)

    #CA87BD

    oklch(70.8% 0.108 333.9)

  6. Step 500

    500

    #BA67AC

    oklch(63.1% 0.137 333.6)

  7. Step 600

    600

    #A54C97

    oklch(55.5% 0.15 333.8)

  8. Step 700

    700

    #8E3D81

    oklch(49.2% 0.139 334.1)

  9. Step 800

    800

    #733369

    oklch(42.8% 0.115 333.7)

  10. Step 900

    900

    #5D2D55

    oklch(37.6% 0.09 333.8)

  11. Step 950

    950

    #371B32

    oklch(27.1% 0.057 334)

Export this scale for Tailwind in the Tailwind colors tool

#CA87BD 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)#8797BF0.105
Deuteranopia (no green cones)#97A0BB0.097
Tritanopia (no blue cones)#D08A9A0.055
Achromatopsia (no color)#9D9D9D0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87BD

    #CA87BD

    oklch(70.8% 0.108 333.9)

  • #67B582

    #67B582

    oklch(70.9% 0.108 154)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87BD

    #CA87BD

    oklch(70.8% 0.108 333.9)

  • #AF90D8

    #AF90D8

    oklch(70.8% 0.108 303.5)

  • #D98499

    #D98499

    oklch(70.9% 0.107 4.2)

Open the analogous palette in the generator

Split complementary

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

  • #CA87BD

    #CA87BD

    oklch(70.8% 0.108 333.9)

  • #93AC5E

    #93AC5E

    oklch(70.7% 0.108 123.7)

  • #3DB7A8

    #3DB7A8

    oklch(70.9% 0.109 183.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87BD

    #CA87BD

    oklch(70.8% 0.108 333.9)

  • #B7A04B

    #B7A04B

    oklch(70.9% 0.108 94.3)

  • #3BB2CA

    #3BB2CA

    oklch(70.8% 0.108 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87BD

    #CA87BD

    oklch(70.8% 0.108 333.9)

  • #D09255

    #D09255

    oklch(70.9% 0.108 64.1)

  • #67B582

    #67B582

    oklch(70.9% 0.108 154)

  • #62A8DF

    #62A8DF

    oklch(70.8% 0.108 243.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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