#CA87D3

Closest named color: Lavender Pink (#DD85D7). oklch(71.7% 0.13 322.6), rgb(202, 135, 211).

Aa

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

About this color

#CA87D3 is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.130 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.032 away. Black text reads best on it, at 7.91:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.91:1
White text2.65:1

Values

HEX#CA87D3
RGBrgb(202, 135, 211)
HSLhsl(293, 46%, 68%)
OKLCHoklch(71.7% 0.13 322.6)

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 #CA87D3 2.65:1 Fails Lc -56.6 Large or bold text, headings
Black text on #CA87D3 7.91:1 AAA Lc 52.6 Large or bold text, headings
#CA87D3 text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#CA87D3 text on black 7.91:1 AAA Lc -50.4 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E8D0EB

    oklch(88.5% 0.045 322.5)

  4. Step 300

    300

    #DAB0E0

    oklch(81% 0.08 322.1)

  5. Step 400

    400 (this color)

    #CA87D3

    oklch(71.7% 0.13 322.6)

  6. Step 500

    500

    #B762C3

    oklch(63.1% 0.165 322.5)

  7. Step 600

    600

    #A246AF

    oklch(55.6% 0.179 322.5)

  8. Step 700

    700

    #8B3697

    oklch(49.1% 0.168 322.5)

  9. Step 800

    800

    #712E7A

    oklch(42.7% 0.138 322.8)

  10. Step 900

    900

    #5C2A62

    oklch(37.7% 0.108 323.2)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA87D3 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)#7F9AD60.115
Deuteranopia (no green cones)#90A2D10.105
Tritanopia (no blue cones)#CC8FA30.080
Achromatopsia (no color)#9F9F9F0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA87D3

    #CA87D3

    oklch(71.7% 0.13 322.6)

  • #71B86C

    #71B86C

    oklch(71.7% 0.129 142.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA87D3

    #CA87D3

    oklch(71.7% 0.13 322.6)

  • #A793ED

    #A793ED

    oklch(71.7% 0.13 293)

  • #E180AB

    #E180AB

    oklch(71.7% 0.129 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA87D3

    #CA87D3

    oklch(71.7% 0.13 322.6)

  • #A5AC41

    #A5AC41

    oklch(71.8% 0.13 112.8)

  • #29BE9B

    #29BE9B

    oklch(71.8% 0.13 172.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA87D3

    #CA87D3

    oklch(71.7% 0.13 322.6)

  • #CB9B33

    #CB9B33

    oklch(71.7% 0.129 82.7)

  • #00BAC5

    #00BAC5

    oklch(71.8% 0.122 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA87D3

    #CA87D3

    oklch(71.7% 0.13 322.6)

  • #E28B51

    #E28B51

    oklch(71.7% 0.129 52.9)

  • #71B86C

    #71B86C

    oklch(71.7% 0.129 142.7)

  • #38B1E7

    #38B1E7

    oklch(71.8% 0.13 232.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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