#C586FA#C586FA
#C586FA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.173 H 307.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C586FA |
|---|---|
| RGB | rgb(197, 134, 250) |
| HSL | hsl(273, 92%, 75%) |
| HSV | hsv(273, 46%, 98%) |
| CMYK | cmyk(21.2%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(66.38, 45.27, -48.91) |
| CIE-LCH | lch(66.38, 66.65, 312.79°) |
| OKLab | oklab(72.88% 0.1056 -0.1366) |
| OKLCH | oklch(72.88% 0.173 307.7) |
| XYZ | xyz(48.8030, 35.8232, 94.7675) |
| Luminance | 0.3582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.02
Light Purple
#BF77F6
ΔE00 3.67
Easter Purple
#C071FE
ΔE00 5.03
Baby Purple
#CA9BF7
ΔE00 5.48
Light Urple
#B36FF6
ΔE00 6.39
Pastel Purple
#CAA0FF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C586FA #BBFA86
analogous
#8B86FA #C586FA #FA86F5
triadic
#C586FA #FAC586 #86FAC5
tetradic
#C586FA #FA8B86 #BBFA86 #86F5FA
square
#C586FA #FA8B86 #BBFA86 #86F5FA
split-complementary
#C586FA #F5FA86 #86FA8B
monochromatic
#8D10F5 #A94BF8 #C586FA #E1C1FC #F1E2FE
Accessibility & contrast
On white
2.57
#C586FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#C586FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C586FA
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C586FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C586FA | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#BD99B4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c586fa; /* rgb */ color: rgb(197, 134, 250); /* oklch */ color: oklch(72.9% 0.173 307.7);
Tailwind
colors: {
custom: {
50: '#d9aafc',
500: '#c586fa',
950: '#000000',
},
}SCSS
$custom: #c586fa; $custom-light: #d9aafc; $custom-dark: #000000;
JSON
{
"hex": "#c586fa",
"rgb": {
"r": 197,
"g": 134,
"b": 250
},
"hsl": {
"h": 272.586,
"s": 92.063,
"l": 75.294
},
"oklch": {
"l": 0.72881,
"c": 0.17266,
"h": 307.7
},
"luminance": 0.35823
}Semantic roles & 50–950 ramp
primary
#C586FA
secondary
#E4F6D5
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85