#CA87BC

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.107 334.5), rgb(202, 135, 188).

Aa

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

About this color

#CA87BC is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.107 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.045 away. Black text reads best on it, at 7.70:1.

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

Values

HEX#CA87BC
RGBrgb(202, 135, 188)
HSLhsl(313, 39%, 66%)
OKLCHoklch(70.8% 0.107 334.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 #CA87BC 2.72:1 Fails Lc -57.9 Large or bold text, headings
Black text on #CA87BC 7.70:1 AAA Lc 51.4 Large or bold text, headings
#CA87BC text on white 2.72:1 Fails Lc 52.6 Large or bold text, headings
#CA87BC text on black 7.70:1 AAA Lc -49.2 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

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #E9D0E3

    oklch(88.4% 0.037 334.2)

  4. Step 300

    300

    #DCB1D2

    oklch(80.9% 0.066 334.5)

  5. Step 400

    400 (this color)

    #CA87BC

    oklch(70.8% 0.107 334.5)

  6. Step 500

    500

    #BB67AB

    oklch(63.2% 0.137 334.6)

  7. Step 600

    600

    #A64C96

    oklch(55.6% 0.15 334.7)

  8. Step 700

    700

    #8E3D80

    oklch(49.2% 0.138 334.6)

  9. Step 800

    800

    #733368

    oklch(42.7% 0.114 334.4)

  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

#CA87BC 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)#8797BE0.105
Deuteranopia (no green cones)#97A0BA0.097
Tritanopia (no blue cones)#D08A9A0.054
Achromatopsia (no color)#9D9D9D0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87BC

    #CA87BC

    oklch(70.8% 0.107 334.5)

  • #67B583

    #67B583

    oklch(70.9% 0.107 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87BC

    #CA87BC

    oklch(70.8% 0.107 334.5)

  • #B090D7

    #B090D7

    oklch(70.9% 0.107 304.5)

  • #D98498

    #D98498

    oklch(70.8% 0.107 4.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA87BC

    #CA87BC

    oklch(70.8% 0.107 334.5)

  • #92AC5F

    #92AC5F

    oklch(70.7% 0.107 124.4)

  • #3EB6A9

    #3EB6A9

    oklch(70.7% 0.107 184.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87BC

    #CA87BC

    oklch(70.8% 0.107 334.5)

  • #B6A04C

    #B6A04C

    oklch(70.8% 0.107 94.8)

  • #3DB2CA

    #3DB2CA

    oklch(70.9% 0.107 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87BC

    #CA87BC

    oklch(70.8% 0.107 334.5)

  • #CF9255

    #CF9255

    oklch(70.7% 0.107 64.6)

  • #67B583

    #67B583

    oklch(70.9% 0.107 154.5)

  • #63A8DF

    #63A8DF

    oklch(70.8% 0.107 244.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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