#C586FC#C586FC
#C586FC is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.0% C 0.175 H 307.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C586FC |
|---|---|
| RGB | rgb(197, 134, 252) |
| HSL | hsl(272, 95%, 76%) |
| HSV | hsv(272, 47%, 99%) |
| CMYK | cmyk(21.8%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(66.48, 45.72, -49.85) |
| CIE-LCH | lch(66.48, 67.64, 312.52°) |
| OKLab | oklab(72.99% 0.1059 -0.1393) |
| OKLCH | oklch(72.99% 0.175 307.2) |
| XYZ | xyz(49.1182, 35.9493, 96.4279) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.98
Light Purple
#BF77F6
ΔE00 3.68
Easter Purple
#C071FE
ΔE00 4.95
Baby Purple
#CA9BF7
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 6.34
Pastel Purple
#CAA0FF
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C586FC #BDFC86
analogous
#8A86FC #C586FC #FC86F8
triadic
#C586FC #FCC586 #86FCC5
tetradic
#C586FC #FC8A86 #BDFC86 #86F8FC
square
#C586FC #FC8A86 #BDFC86 #86F8FC
split-complementary
#C586FC #F8FC86 #86FC8A
monochromatic
#8C0FF9 #A84AFB #C586FC #E2C2FD #F1E1FE
Accessibility & contrast
On white
2.56
#C586FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#C586FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C586FC
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C586FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C586FC | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#BD9AB5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c586fc; /* rgb */ color: rgb(197, 134, 252); /* oklch */ color: oklch(73.0% 0.175 307.2);
Tailwind
colors: {
custom: {
50: '#d9aafe',
500: '#c586fc',
950: '#000000',
},
}SCSS
$custom: #c586fc; $custom-light: #d9aafe; $custom-dark: #000000;
JSON
{
"hex": "#c586fc",
"rgb": {
"r": 197,
"g": 134,
"b": 252
},
"hsl": {
"h": 272.034,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.72985,
"c": 0.17498,
"h": 307.2
},
"luminance": 0.35949
}Semantic roles & 50–950 ramp
primary
#C586FC
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86