#B586EB#B586EB
#B586EB is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.150 H 304.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B586EB |
|---|---|
| RGB | rgb(181, 134, 235) |
| HSL | hsl(268, 72%, 72%) |
| HSV | hsv(268, 43%, 92%) |
| CMYK | cmyk(23%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(64.06, 37.49, -44.44) |
| CIE-LCH | lch(64.06, 58.14, 310.15°) |
| OKLab | oklab(70.53% 0.0845 -0.1239) |
| OKLCH | oklch(70.53% 0.15 304.3) |
| XYZ | xyz(42.5734, 32.8723, 82.6833) |
| Luminance | 0.3287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.59
Light Purple
#BF77F6
ΔE00 4.48
Easter Purple
#C071FE
ΔE00 6.04
Baby Purple
#CA9BF7
ΔE00 6.09
Pale Purple
#B790D4
ΔE00 6.14
Light Urple
#B36FF6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586EB #BCEB86
analogous
#868AEB #B586EB #E886EB
triadic
#B586EB #EBB586 #86EBB5
tetradic
#B586EB #EB868A #BCEB86 #86EBE8
square
#B586EB #EB868A #BCEB86 #86EBE8
split-complementary
#B586EB #EBE886 #8AEB86
monochromatic
#7523D4 #9551E2 #B586EB #D5BBF4 #EFE5FB
Accessibility & contrast
On white
2.77
#B586EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#B586EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586EB
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586EB | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#AC97AD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b586eb; /* rgb */ color: rgb(181, 134, 235); /* oklch */ color: oklch(70.5% 0.150 304.3);
Tailwind
colors: {
custom: {
50: '#cdaaf2',
500: '#b586eb',
950: '#000000',
},
}SCSS
$custom: #b586eb; $custom-light: #cdaaf2; $custom-dark: #000000;
JSON
{
"hex": "#b586eb",
"rgb": {
"r": 181,
"g": 134,
"b": 235
},
"hsl": {
"h": 267.921,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.70534,
"c": 0.15002,
"h": 304.3
},
"luminance": 0.32872
}Semantic roles & 50–950 ramp
primary
#B586EB
secondary
#E6F2D9
accent
#D41279
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85