#CA87B1

Closest named color: Dull Pink (#D5869D). oklch(70.4% 0.098 341.8), rgb(202, 135, 177).

Aa

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

About this color

#CA87B1 is a medium-light, moderately saturated pink. In OKLCH its lightness is 70%, its chroma 0.098 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Pink (#D5869D), ΔE 0.034 away. Black text reads best on it, at 7.61:1.

Hue familyPinks
Lightnessmedium-light (70%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameDull Pink (#D5869D)
Black text7.61:1
White text2.75:1

Values

HEX#CA87B1
RGBrgb(202, 135, 177)
HSLhsl(322, 39%, 66%)
OKLCHoklch(70.4% 0.098 341.8)

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 #CA87B1 2.75:1 Fails Lc -58.4 Large or bold text, headings
Black text on #CA87B1 7.61:1 AAA Lc 50.9 Large or bold text, headings
#CA87B1 text on white 2.75:1 Fails Lc 53.1 Large or bold text, headings
#CA87B1 text on black 7.61:1 AAA Lc -48.7 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5ED

    oklch(93.5% 0.018 342)

  3. Step 200

    200

    #EAD1DF

    oklch(88.5% 0.033 343)

  4. Step 300

    300

    #DDB2CC

    oklch(81% 0.06 341.6)

  5. Step 400

    400 (this color)

    #CA87B1

    oklch(70.4% 0.098 341.8)

  6. Step 500

    500

    #BC699F

    oklch(63.1% 0.125 341.8)

  7. Step 600

    600

    #A74F8A

    oklch(55.6% 0.136 341.7)

  8. Step 700

    700

    #8F3F75

    oklch(49.1% 0.127 341.7)

  9. Step 800

    800

    #74355F

    oklch(42.7% 0.104 341.8)

  10. Step 900

    900

    #5E2E4E

    oklch(37.6% 0.082 341.4)

  11. Step 950

    950

    #371C2E

    oklch(27.1% 0.051 340.8)

Export this scale for Tailwind in the Tailwind colors tool

#CA87B1 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)#8A95B30.101
Deuteranopia (no green cones)#9AA0AF0.094
Tritanopia (no blue cones)#D287960.042
Achromatopsia (no color)#9C9C9C0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87B1

    #CA87B1

    oklch(70.4% 0.098 341.8)

  • #62B38D

    #62B38D

    oklch(70.4% 0.098 162.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87B1

    #CA87B1

    oklch(70.4% 0.098 341.8)

  • #B48ECC

    #B48ECC

    oklch(70.4% 0.098 311.9)

  • #D58690

    #D58690

    oklch(70.5% 0.098 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #CA87B1

    #CA87B1

    oklch(70.4% 0.098 341.8)

  • #89AD6C

    #89AD6C

    oklch(70.5% 0.098 132.1)

  • #47B3AF

    #47B3AF

    oklch(70.4% 0.098 191.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87B1

    #CA87B1

    oklch(70.4% 0.098 341.8)

  • #ACA256

    #ACA256

    oklch(70.4% 0.098 101.9)

  • #4FADCB

    #4FADCB

    oklch(70.3% 0.098 221.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87B1

    #CA87B1

    oklch(70.4% 0.098 341.8)

  • #C69558

    #C69558

    oklch(70.4% 0.098 71.1)

  • #62B38D

    #62B38D

    oklch(70.4% 0.098 162.1)

  • #71A4DB

    #71A4DB

    oklch(70.5% 0.098 251.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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