#B586FE#B586FE
#B586FE is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.174 H 300.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B586FE |
|---|---|
| RGB | rgb(181, 134, 254) |
| HSL | hsl(264, 98%, 76%) |
| HSV | hsv(264, 47%, 100%) |
| CMYK | cmyk(28.7%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(64.99, 41.96, -53.42) |
| CIE-LCH | lch(64.99, 67.93, 308.15°) |
| OKLab | oklab(71.53% 0.0871 -0.1501) |
| OKLCH | oklch(71.53% 0.174 300.1) |
| XYZ | xyz(45.4664, 34.0295, 97.9197) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.48
Light Purple
#BF77F6
ΔE00 4.49
Easter Purple
#C071FE
ΔE00 5.36
Light Urple
#B36FF6
ΔE00 5.71
Baby Purple
#CA9BF7
ΔE00 7.03
Pastel Purple
#CAA0FF
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586FE #CFFE86
analogous
#8693FE #B586FE #F186FE
triadic
#B586FE #FEB586 #86FEB5
tetradic
#B586FE #FE8693 #CFFE86 #86FEF1
square
#B586FE #FE8693 #CFFE86 #86FEF1
split-complementary
#B586FE #FEF186 #93FE86
monochromatic
#6B0DFD #9049FD #B586FE #DAC3FF #ECE1FF
Accessibility & contrast
On white
2.69
#B586FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#B586FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586FE
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586FE | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#A79CB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b586fe; /* rgb */ color: rgb(181, 134, 254); /* oklch */ color: oklch(71.5% 0.174 300.1);
Tailwind
colors: {
custom: {
50: '#ceaaff',
500: '#b586fe',
950: '#000000',
},
}SCSS
$custom: #b586fe; $custom-light: #ceaaff; $custom-dark: #000000;
JSON
{
"hex": "#b586fe",
"rgb": {
"r": 181,
"g": 134,
"b": 254
},
"hsl": {
"h": 263.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.71533,
"c": 0.17353,
"h": 300.1
},
"luminance": 0.3403
}Semantic roles & 50–950 ramp
primary
#B586FE
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86