#CA87DB
Closest named color: Lavender Pink (#DD85D7). oklch(72.1% 0.138 319.3), rgb(202, 135, 219).
Aa
Black text reads best on this color (7.99:1).
About this color
#CA87DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.138 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.032 away. Black text reads best on it, at 7.99:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 7.99:1 |
| White text | 2.62:1 |
Values
| HEX | #CA87DB |
| RGB | rgb(202, 135, 219) |
| HSL | hsl(288, 54%, 69%) |
| OKLCH | oklch(72.1% 0.138 319.3) |
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 #CA87DB | 2.62:1 | Fails | Lc -56.2 | Large or bold text, headings |
| Black text on #CA87DB | 7.99:1 | AAA | Lc 53.0 | Large or bold text, headings |
| #CA87DB text on white | 2.62:1 | Fails | Lc 51.0 | Large or bold text, headings |
| #CA87DB text on black | 7.99:1 | AAA | Lc -50.9 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
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
#D9AFE4
oklch(80.9% 0.086 319.2)
-
Step 400
400 (this color)
#CA87DB
oklch(72.1% 0.138 319.3)
-
Step 500
500
#B660CB
oklch(63.1% 0.176 319.5)
-
Step 600
600
#A143B8
oklch(55.6% 0.191 319.2)
-
Step 700
700
#8A339F
oklch(49.1% 0.179 319.2)
-
Step 800
800
#702C81
oklch(42.7% 0.148 319.1)
-
Step 900
900
#5B2967
oklch(37.7% 0.115 319.5)
-
Step 950
950
#35193C
oklch(27% 0.072 319.3)
#CA87DB 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) | #7C9BDE | 0.118 |
| Deuteranopia (no green cones) | #8CA2D8 | 0.109 |
| Tritanopia (no blue cones) | #CB91A7 | 0.088 |
| Achromatopsia (no color) | #A0A0A0 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA87DB
#CA87DB
oklch(72.1% 0.138 319.3)
- #75B963
#75B963
oklch(72% 0.137 139.3)
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 #CA87DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.032
- Pale Purple #B790D4 ΔE 0.039
- Liliac #C48EFD ΔE 0.050
- Orchid #DA70D6 ΔE 0.054
- Baby Purple #CA9BF7 ΔE 0.055
- Light Purple #BF77F6 ΔE 0.064
- Violet #EE82EE ΔE 0.067
- Pastel Purple #CAA0FF ΔE 0.070
Use #CA87DB 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.