#C587FB#C587FB
#C587FB is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.172 H 307.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C587FB |
|---|---|
| RGB | rgb(197, 135, 251) |
| HSL | hsl(272, 94%, 76%) |
| HSV | hsv(272, 46%, 98%) |
| CMYK | cmyk(21.5%, 46.2%, 0%, 1.6%) |
| CIE-LAB | lab(66.64, 44.96, -49.05) |
| CIE-LCH | lch(66.64, 66.54, 312.51°) |
| OKLab | oklab(73.09% 0.1044 -0.137) |
| OKLCH | oklch(73.09% 0.172 307.3) |
| XYZ | xyz(49.0991, 36.1638, 95.6418) |
| Luminance | 0.3616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.76
Light Purple
#BF77F6
ΔE00 3.90
Easter Purple
#C071FE
ΔE00 5.22
Baby Purple
#CA9BF7
ΔE00 5.30
Pastel Purple
#CAA0FF
ΔE00 6.19
Light Urple
#B36FF6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C587FB #BDFB87
analogous
#8B87FB #C587FB #FB87F7
triadic
#C587FB #FBC587 #87FBC5
tetradic
#C587FB #FB8B87 #BDFB87 #87F7FB
square
#C587FB #FB8B87 #BDFB87 #87F7FB
split-complementary
#C587FB #F7FB87 #87FB8B
monochromatic
#8C11F7 #A84CF9 #C587FB #E2C2FD #F1E1FE
Accessibility & contrast
On white
2.55
#C587FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#C587FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C587FB
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C587FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C587FB | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#BD9AB5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c587fb; /* rgb */ color: rgb(197, 135, 251); /* oklch */ color: oklch(73.1% 0.172 307.3);
Tailwind
colors: {
custom: {
50: '#d9abfd',
500: '#c587fb',
950: '#000000',
},
}SCSS
$custom: #c587fb; $custom-light: #d9abfd; $custom-dark: #000000;
JSON
{
"hex": "#c587fb",
"rgb": {
"r": 197,
"g": 135,
"b": 251
},
"hsl": {
"h": 272.069,
"s": 93.548,
"l": 75.686
},
"oklch": {
"l": 0.73091,
"c": 0.17224,
"h": 307.3
},
"luminance": 0.36163
}Semantic roles & 50–950 ramp
primary
#C587FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86