#C587FE#C587FE
#C587FE is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.2% C 0.176 H 306.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C587FE |
|---|---|
| RGB | rgb(197, 135, 254) |
| HSL | hsl(271, 98%, 76%) |
| HSV | hsv(271, 47%, 100%) |
| CMYK | cmyk(22.4%, 46.9%, 0%, 0.4%) |
| CIE-LAB | lab(66.79, 45.63, -50.46) |
| CIE-LCH | lch(66.79, 68.03, 312.12°) |
| OKLab | oklab(73.25% 0.1048 -0.1411) |
| OKLCH | oklch(73.25% 0.176 306.6) |
| XYZ | xyz(49.5757, 36.3545, 98.1521) |
| Luminance | 0.3635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.76
Light Purple
#BF77F6
ΔE00 3.93
Easter Purple
#C071FE
ΔE00 5.13
Baby Purple
#CA9BF7
ΔE00 5.48
Pastel Purple
#CAA0FF
ΔE00 6.25
Light Urple
#B36FF6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C587FE #C0FE87
analogous
#8A87FE #C587FE #FE87FB
triadic
#C587FE #FEC587 #87FEC5
tetradic
#C587FE #FE8A87 #C0FE87 #87FBFE
square
#C587FE #FE8A87 #C0FE87 #87FBFE
split-complementary
#C587FE #FBFE87 #87FE8A
monochromatic
#8A0EFD #A84AFD #C587FE #E2C4FF #F0E1FF
Accessibility & contrast
On white
2.54
#C587FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#C587FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C587FE
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C587FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C587FE | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#BC9BB7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c587fe; /* rgb */ color: rgb(197, 135, 254); /* oklch */ color: oklch(73.2% 0.176 306.6);
Tailwind
colors: {
custom: {
50: '#d9abff',
500: '#c587fe',
950: '#000000',
},
}SCSS
$custom: #c587fe; $custom-light: #d9abff; $custom-dark: #000000;
JSON
{
"hex": "#c587fe",
"rgb": {
"r": 197,
"g": 135,
"b": 254
},
"hsl": {
"h": 271.261,
"s": 98.347,
"l": 76.275
},
"oklch": {
"l": 0.73247,
"c": 0.17574,
"h": 306.6
},
"luminance": 0.36354
}Semantic roles & 50–950 ramp
primary
#C587FE
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86