#B586F8#B586F8
#B586F8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.2% C 0.166 H 301.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B586F8 |
|---|---|
| RGB | rgb(181, 134, 248) |
| HSL | hsl(265, 89%, 75%) |
| HSV | hsv(265, 46%, 97%) |
| CMYK | cmyk(27%, 46%, 0%, 2.7%) |
| CIE-LAB | lab(64.68, 40.53, -50.61) |
| CIE-LCH | lch(64.68, 64.84, 308.69°) |
| OKLab | oklab(71.21% 0.0864 -0.1419) |
| OKLCH | oklch(71.21% 0.166 301.3) |
| XYZ | xyz(44.5206, 33.6511, 92.9386) |
| Luminance | 0.3365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.22
Light Purple
#BF77F6
ΔE00 4.25
Easter Purple
#C071FE
ΔE00 5.38
Light Urple
#B36FF6
ΔE00 5.66
Baby Purple
#CA9BF7
ΔE00 6.62
Pastel Purple
#CAA0FF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586F8 #C9F886
analogous
#8690F8 #B586F8 #EE86F8
triadic
#B586F8 #F8B586 #86F8B5
tetradic
#B586F8 #F88690 #C9F886 #86F8EE
square
#B586F8 #F88690 #C9F886 #86F8EE
split-complementary
#B586F8 #F8EE86 #90F886
monochromatic
#6E12F1 #924CF5 #B586F8 #D8C0FB #EDE2FD
Accessibility & contrast
On white
2.72
#B586F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#B586F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586F8
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586F8 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#709CF5
Tritanopia (blue-blind)
#A89AB3
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b586f8; /* rgb */ color: rgb(181, 134, 248); /* oklch */ color: oklch(71.2% 0.166 301.3);
Tailwind
colors: {
custom: {
50: '#ceaafb',
500: '#b586f8',
950: '#000000',
},
}SCSS
$custom: #b586f8; $custom-light: #ceaafb; $custom-dark: #000000;
JSON
{
"hex": "#b586f8",
"rgb": {
"r": 181,
"g": 134,
"b": 248
},
"hsl": {
"h": 264.737,
"s": 89.063,
"l": 74.902
},
"oklch": {
"l": 0.7121,
"c": 0.16612,
"h": 301.3
},
"luminance": 0.33651
}Semantic roles & 50–950 ramp
primary
#B586F8
secondary
#E8F5D6
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85