#CA87DD
Closest named color: Lavender Pink (#DD85D7). oklch(72.2% 0.14 318.6), rgb(202, 135, 221).
Aa
Black text reads best on this color (8.02:1).
About this color
#CA87DD is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.140 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.033 away. Black text reads best on it, at 8.02:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.140) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.02:1 |
| White text | 2.61:1 |
Values
| HEX | #CA87DD |
| RGB | rgb(202, 135, 221) |
| HSL | hsl(287, 56%, 70%) |
| OKLCH | oklch(72.2% 0.14 318.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CA87DD | 2.61:1 | Fails | Lc -56.0 | Large or bold text, headings |
| Black text on #CA87DD | 8.02:1 | AAA | Lc 53.1 | Large or bold text, headings |
| #CA87DD text on white | 2.61:1 | Fails | Lc 50.9 | Large or bold text, headings |
| #CA87DD text on black | 8.02:1 | AAA | Lc -51.0 | 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.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F5
oklch(93.6% 0.025 317.7)
-
Step 200
200
#E7D0EE
oklch(88.6% 0.047 318.3)
-
Step 300
300
#D9AFE5
oklch(80.9% 0.087 318.6)
-
Step 400
400 (this color)
#CA87DD
oklch(72.2% 0.14 318.6)
-
Step 500
500
#B660CD
oklch(63.2% 0.178 318.8)
-
Step 600
600
#A142BA
oklch(55.6% 0.194 318.6)
-
Step 700
700
#8A32A0
oklch(49.1% 0.181 318.9)
-
Step 800
800
#702B82
oklch(42.7% 0.15 318.7)
-
Step 900
900
#5B2868
oklch(37.6% 0.117 319.1)
-
Step 950
950
#35193D
oklch(27% 0.073 318.3)
#CA87DD 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #7B9BE0 | 0.119 |
| Deuteranopia (no green cones) | #8CA2DA | 0.109 |
| Tritanopia (no blue cones) | #CA92A8 | 0.091 |
| Achromatopsia (no color) | #A0A0A0 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA87DD
#CA87DD
oklch(72.2% 0.14 318.6)
- #76BA61
#76BA61
oklch(72.3% 0.14 138.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CA87DD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.033
- Pale Purple #B790D4 ΔE 0.040
- Liliac #C48EFD ΔE 0.047
- Orchid #DA70D6 ΔE 0.053
- Baby Purple #CA9BF7 ΔE 0.053
- Light Purple #BF77F6 ΔE 0.062
- Violet #EE82EE ΔE 0.066
- Pastel Purple #CAA0FF ΔE 0.068
Use #CA87DD 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.