#CA87C4

Closest named color: Pale Purple (#B790D4). oklch(71.1% 0.115 329.9), rgb(202, 135, 196).

Aa

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

About this color

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

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

Values

HEX#CA87C4
RGBrgb(202, 135, 196)
HSLhsl(305, 39%, 66%)
OKLCHoklch(71.1% 0.115 329.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 #CA87C4 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #CA87C4 7.77:1 AAA Lc 51.8 Large or bold text, headings
#CA87C4 text on white 2.70:1 Fails Lc 52.2 Large or bold text, headings
#CA87C4 text on black 7.77:1 AAA Lc -49.6 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E9D0E6

    oklch(88.5% 0.04 329.8)

  4. Step 300

    300

    #DCB0D7

    oklch(80.9% 0.073 330)

  5. Step 400

    400 (this color)

    #CA87C4

    oklch(71.1% 0.115 329.9)

  6. Step 500

    500

    #B965B3

    oklch(63% 0.146 329.8)

  7. Step 600

    600

    #A44A9F

    oklch(55.5% 0.159 329.6)

  8. Step 700

    700

    #8D3B88

    oklch(49.2% 0.148 330)

  9. Step 800

    800

    #72316E

    oklch(42.6% 0.122 329.9)

  10. Step 900

    900

    #5D2C59

    oklch(37.7% 0.096 330.4)

  11. Step 950

    950

    #361A34

    oklch(26.8% 0.061 329.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA87C4 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)#8498C60.109
Deuteranopia (no green cones)#95A1C20.100
Tritanopia (no blue cones)#CF8C9D0.063
Achromatopsia (no color)#9D9D9D0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87C4

    #CA87C4

    oklch(71.1% 0.115 329.9)

  • #6AB67B

    #6AB67B

    oklch(71.1% 0.115 149.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87C4

    #CA87C4

    oklch(71.1% 0.115 329.9)

  • #AD91DF

    #AD91DF

    oklch(71.1% 0.115 300)

  • #DC829F

    #DC829F

    oklch(71.1% 0.115 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA87C4

    #CA87C4

    oklch(71.1% 0.115 329.9)

  • #99AC56

    #99AC56

    oklch(71.1% 0.114 119.7)

  • #37B9A4

    #37B9A4

    oklch(71.1% 0.115 179.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87C4

    #CA87C4

    oklch(71.1% 0.115 329.9)

  • #BE9E44

    #BE9E44

    oklch(71.1% 0.115 89.5)

  • #2AB5C9

    #2AB5C9

    oklch(71.2% 0.114 209.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87C4

    #CA87C4

    oklch(71.1% 0.115 329.9)

  • #D69054

    #D69054

    oklch(71.2% 0.114 60)

  • #6AB67B

    #6AB67B

    oklch(71.1% 0.115 149.9)

  • #57ABE2

    #57ABE2

    oklch(71.1% 0.115 239.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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