#C587DB#C587DB
#C587DB is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.5% C 0.135 H 316.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C587DB |
|---|---|
| RGB | rgb(197, 135, 219) |
| HSL | hsl(284, 54%, 69%) |
| HSV | hsv(284, 38%, 86%) |
| CMYK | cmyk(10%, 38.4%, 0%, 14.1%) |
| CIE-LAB | lab(65.21, 38.13, -33.64) |
| CIE-LCH | lch(65.21, 50.85, 318.57°) |
| OKLab | oklab(71.55% 0.0989 -0.0925) |
| OKLCH | oklch(71.55% 0.135 316.9) |
| XYZ | xyz(44.4743, 34.3139, 71.2845) |
| Luminance | 0.3431 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.32
Lavender Pink
#DD85D7
ΔE00 5.22
Orchid (survey)
#C875C4
ΔE00 5.94
Liliac
#C48EFD
ΔE00 6.31
Baby Purple
#CA9BF7
ΔE00 6.31
Wisteria
#A87DC2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C587DB #9DDB87
analogous
#9B87DB #C587DB #DB87C7
triadic
#C587DB #DBC587 #87DBC5
tetradic
#C587DB #DB9B87 #9DDB87 #87C7DB
square
#C587DB #DB9B87 #9DDB87 #87C7DB
split-complementary
#C587DB #C7DB87 #87DB9B
monochromatic
#9135B2 #AE58CD #C587DB #DCB6E9 #F3E5F7
Accessibility & contrast
On white
2.67
#C587DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#C587DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C587DB
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C587DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C587DB | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#C592A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c587db; /* rgb */ color: rgb(197, 135, 219); /* oklch */ color: oklch(71.5% 0.135 316.9);
Tailwind
colors: {
custom: {
50: '#d8abe6',
500: '#c587db',
950: '#000000',
},
}SCSS
$custom: #c587db; $custom-light: #d8abe6; $custom-dark: #000000;
JSON
{
"hex": "#c587db",
"rgb": {
"r": 197,
"g": 135,
"b": 219
},
"hsl": {
"h": 284.286,
"s": 53.846,
"l": 69.412
},
"oklch": {
"l": 0.71546,
"c": 0.13544,
"h": 316.9
},
"luminance": 0.34313
}Semantic roles & 50–950 ramp
primary
#C587DB
secondary
#D9EBD3
accent
#C1244D
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#151016
muted
#837F84