#CD87DC
Closest named color: Lavender Pink (#DD85D7). oklch(72.4% 0.141 320.4), rgb(205, 135, 220).
Aa
Black text reads best on this color (8.09:1).
About this color
#CD87DC is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.141 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.027 away. Black text reads best on it, at 8.09:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.09:1 |
| White text | 2.59:1 |
Values
| HEX | #CD87DC |
| RGB | rgb(205, 135, 220) |
| HSL | hsl(289, 55%, 70%) |
| OKLCH | oklch(72.4% 0.141 320.4) |
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 #CD87DC | 2.59:1 | Fails | Lc -55.6 | Large or bold text, headings |
| Black text on #CD87DC | 8.09:1 | AAA | Lc 53.5 | Large or bold text, headings |
| #CD87DC text on white | 2.59:1 | Fails | Lc 50.5 | Large or bold text, headings |
| #CD87DC text on black | 8.09:1 | AAA | Lc -51.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.
-
Step 50
50
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F5
oklch(93.7% 0.025 319.9)
-
Step 200
200
#E8CFED
oklch(88.4% 0.049 320.6)
-
Step 300
300
#DBAEE4
oklch(80.9% 0.089 320.7)
-
Step 400
400 (this color)
#CD87DC
oklch(72.4% 0.141 320.4)
-
Step 500
500
#B85ECB
oklch(63% 0.18 320.4)
-
Step 600
600
#A340B8
oklch(55.5% 0.196 320.2)
-
Step 700
700
#8C319E
oklch(49.1% 0.182 320.6)
-
Step 800
800
#722A80
oklch(42.7% 0.151 320.8)
-
Step 900
900
#5C2867
oklch(37.7% 0.117 320.3)
-
Step 950
950
#36183C
oklch(26.9% 0.074 320.7)
#CD87DC 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) | #7C9CDF | 0.123 |
| Deuteranopia (no green cones) | #8EA3D9 | 0.112 |
| Tritanopia (no blue cones) | #CE91A7 | 0.089 |
| Achromatopsia (no color) | #A1A1A1 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD87DC
#CD87DC
oklch(72.4% 0.141 320.4)
- #73BB64
#73BB64
oklch(72.4% 0.14 140.2)
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 #CD87DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.027
- Pale Purple #B790D4 ΔE 0.043
- Liliac #C48EFD ΔE 0.049
- Orchid #DA70D6 ΔE 0.052
- Baby Purple #CA9BF7 ΔE 0.054
- Violet #EE82EE ΔE 0.062
- Light Purple #BF77F6 ΔE 0.065
- Pastel Purple #CAA0FF ΔE 0.068
Use #CD87DC 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.