#C586FE#C586FE
#C586FE is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.1% C 0.177 H 306.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C586FE |
|---|---|
| RGB | rgb(197, 134, 254) |
| HSL | hsl(272, 98%, 76%) |
| HSV | hsv(272, 47%, 100%) |
| CMYK | cmyk(22.4%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(66.58, 46.16, -50.79) |
| CIE-LCH | lch(66.58, 68.64, 312.27°) |
| OKLab | oklab(73.09% 0.1061 -0.142) |
| OKLCH | oklch(73.09% 0.177 306.8) |
| XYZ | xyz(49.4368, 36.0767, 98.1058) |
| Luminance | 0.3608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.00
Light Purple
#BF77F6
ΔE00 3.71
Easter Purple
#C071FE
ΔE00 4.90
Baby Purple
#CA9BF7
ΔE00 5.71
Light Urple
#B36FF6
ΔE00 6.32
Pastel Purple
#CAA0FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C586FE #BFFE86
analogous
#8986FE #C586FE #FE86FB
triadic
#C586FE #FEC586 #86FEC5
tetradic
#C586FE #FE8986 #BFFE86 #86FBFE
square
#C586FE #FE8986 #BFFE86 #86FBFE
split-complementary
#C586FE #FBFE86 #86FE89
monochromatic
#8B0DFD #A849FD #C586FE #E2C3FF #F0E1FF
Accessibility & contrast
On white
2.56
#C586FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#C586FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C586FE
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C586FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C586FE | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#BC9AB6
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c586fe; /* rgb */ color: rgb(197, 134, 254); /* oklch */ color: oklch(73.1% 0.177 306.8);
Tailwind
colors: {
custom: {
50: '#d9aaff',
500: '#c586fe',
950: '#000000',
},
}SCSS
$custom: #c586fe; $custom-light: #d9aaff; $custom-dark: #000000;
JSON
{
"hex": "#c586fe",
"rgb": {
"r": 197,
"g": 134,
"b": 254
},
"hsl": {
"h": 271.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.73089,
"c": 0.17732,
"h": 306.8
},
"luminance": 0.36076
}Semantic roles & 50–950 ramp
primary
#C586FE
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86