#C587FC#C587FC
#C587FC is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.173 H 307.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C587FC |
|---|---|
| RGB | rgb(197, 135, 252) |
| HSL | hsl(272, 95%, 76%) |
| HSV | hsv(272, 46%, 99%) |
| CMYK | cmyk(21.8%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(66.69, 45.18, -49.52) |
| CIE-LCH | lch(66.69, 67.04, 312.38°) |
| OKLab | oklab(73.14% 0.1045 -0.1383) |
| OKLCH | oklch(73.14% 0.173 307.1) |
| XYZ | xyz(49.2571, 36.2270, 96.4742) |
| Luminance | 0.3623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.74
Light Purple
#BF77F6
ΔE00 3.90
Easter Purple
#C071FE
ΔE00 5.19
Baby Purple
#CA9BF7
ΔE00 5.36
Pastel Purple
#CAA0FF
ΔE00 6.21
Light Urple
#B36FF6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C587FC #BEFC87
analogous
#8A87FC #C587FC #FC87F8
triadic
#C587FC #FCC587 #87FCC5
tetradic
#C587FC #FC8A87 #BEFC87 #87F8FC
square
#C587FC #FC8A87 #BEFC87 #87F8FC
split-complementary
#C587FC #F8FC87 #87FC8A
monochromatic
#8B10F9 #A84BFB #C587FC #E2C3FD #F1E1FE
Accessibility & contrast
On white
2.55
#C587FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#C587FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C587FC
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C587FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C587FC | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#BD9AB6
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c587fc; /* rgb */ color: rgb(197, 135, 252); /* oklch */ color: oklch(73.1% 0.173 307.1);
Tailwind
colors: {
custom: {
50: '#d9abfe',
500: '#c587fc',
950: '#000000',
},
}SCSS
$custom: #c587fc; $custom-light: #d9abfe; $custom-dark: #000000;
JSON
{
"hex": "#c587fc",
"rgb": {
"r": 197,
"g": 135,
"b": 252
},
"hsl": {
"h": 271.795,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.73143,
"c": 0.17341,
"h": 307.1
},
"luminance": 0.36227
}Semantic roles & 50–950 ramp
primary
#C587FC
secondary
#E4F6D5
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86