#C586FB#C586FB
#C586FB is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.174 H 307.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C586FB |
|---|---|
| RGB | rgb(197, 134, 251) |
| HSL | hsl(272, 94%, 75%) |
| HSV | hsv(272, 47%, 98%) |
| CMYK | cmyk(21.5%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(66.43, 45.50, -49.38) |
| CIE-LCH | lch(66.43, 67.15, 312.65°) |
| OKLab | oklab(72.93% 0.1058 -0.1379) |
| OKLCH | oklch(72.93% 0.174 307.5) |
| XYZ | xyz(48.9602, 35.8861, 95.5955) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.99
Light Purple
#BF77F6
ΔE00 3.67
Easter Purple
#C071FE
ΔE00 4.99
Baby Purple
#CA9BF7
ΔE00 5.53
Light Urple
#B36FF6
ΔE00 6.36
Pastel Purple
#CAA0FF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C586FB #BCFB86
analogous
#8A86FB #C586FB #FB86F6
triadic
#C586FB #FBC586 #86FBC5
tetradic
#C586FB #FB8A86 #BCFB86 #86F6FB
square
#C586FB #FB8A86 #BCFB86 #86F6FB
split-complementary
#C586FB #F6FB86 #86FB8A
monochromatic
#8C10F7 #A94BF9 #C586FB #E1C1FD #F1E1FE
Accessibility & contrast
On white
2.57
#C586FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#C586FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C586FB
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C586FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C586FB | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#BD99B5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c586fb; /* rgb */ color: rgb(197, 134, 251); /* oklch */ color: oklch(72.9% 0.174 307.5);
Tailwind
colors: {
custom: {
50: '#d9aafd',
500: '#c586fb',
950: '#000000',
},
}SCSS
$custom: #c586fb; $custom-light: #d9aafd; $custom-dark: #000000;
JSON
{
"hex": "#c586fb",
"rgb": {
"r": 197,
"g": 134,
"b": 251
},
"hsl": {
"h": 272.308,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.72933,
"c": 0.17383,
"h": 307.5
},
"luminance": 0.35886
}Semantic roles & 50–950 ramp
primary
#C586FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86