#B586EF#B586EF
#B586EF is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.155 H 303.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B586EF |
|---|---|
| RGB | rgb(181, 134, 239) |
| HSL | hsl(267, 77%, 73%) |
| HSV | hsv(267, 44%, 94%) |
| CMYK | cmyk(24.3%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(64.25, 38.42, -46.35) |
| CIE-LCH | lch(64.25, 60.20, 309.65°) |
| OKLab | oklab(70.74% 0.0851 -0.1295) |
| OKLCH | oklch(70.74% 0.155 303.3) |
| XYZ | xyz(43.1578, 33.1060, 85.7611) |
| Luminance | 0.3311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.33
Light Purple
#BF77F6
ΔE00 4.29
Easter Purple
#C071FE
ΔE00 5.75
Light Urple
#B36FF6
ΔE00 5.93
Baby Purple
#CA9BF7
ΔE00 6.19
Pale Purple
#B790D4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586EF #C0EF86
analogous
#868BEF #B586EF #E986EF
triadic
#B586EF #EFB586 #86EFB5
tetradic
#B586EF #EF868B #C0EF86 #86EFE9
square
#B586EF #EF868B #C0EF86 #86EFE9
split-complementary
#B586EF #EFE986 #8BEF86
monochromatic
#731DDD #9450E8 #B586EF #D6BCF6 #EEE4FB
Accessibility & contrast
On white
2.76
#B586EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#B586EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586EF
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586EF | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#AB98AF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b586ef; /* rgb */ color: rgb(181, 134, 239); /* oklch */ color: oklch(70.7% 0.155 303.3);
Tailwind
colors: {
custom: {
50: '#cdaaf4',
500: '#b586ef',
950: '#000000',
},
}SCSS
$custom: #b586ef; $custom-light: #cdaaf4; $custom-dark: #000000;
JSON
{
"hex": "#b586ef",
"rgb": {
"r": 181,
"g": 134,
"b": 239
},
"hsl": {
"h": 266.857,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.70738,
"c": 0.15498,
"h": 303.3
},
"luminance": 0.33106
}Semantic roles & 50–950 ramp
primary
#B586EF
secondary
#E7F3D8
accent
#D90D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85