#B587E8#B587E8
#B587E8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.6% C 0.145 H 304.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B587E8 |
|---|---|
| RGB | rgb(181, 135, 232) |
| HSL | hsl(268, 68%, 72%) |
| HSV | hsv(268, 42%, 91%) |
| CMYK | cmyk(22%, 41.8%, 0%, 9%) |
| CIE-LAB | lab(64.14, 36.25, -42.64) |
| CIE-LCH | lch(64.14, 55.97, 310.36°) |
| OKLab | oklab(70.55% 0.0826 -0.1188) |
| OKLCH | oklch(70.55% 0.145 304.8) |
| XYZ | xyz(42.2825, 32.9781, 80.4662) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.79
Light Purple
#BF77F6
ΔE00 4.94
Pale Purple
#B790D4
ΔE00 5.51
Baby Purple
#CA9BF7
ΔE00 5.86
Easter Purple
#C071FE
ΔE00 6.55
Light Urple
#B36FF6
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B587E8 #BAE887
analogous
#878AE8 #B587E8 #E687E8
triadic
#B587E8 #E8B587 #87E8B5
tetradic
#B587E8 #E8878A #BAE887 #87E8E6
square
#B587E8 #E8878A #BAE887 #87E8E6
split-complementary
#B587E8 #E8E687 #8AE887
monochromatic
#7627CD #9554DE #B587E8 #D5BAF2 #EFE5FA
Accessibility & contrast
On white
2.76
#B587E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#B587E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B587E8
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B587E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B587E8 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#7A9CE5
Tritanopia (blue-blind)
#AD97AC
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b587e8; /* rgb */ color: rgb(181, 135, 232); /* oklch */ color: oklch(70.6% 0.145 304.8);
Tailwind
colors: {
custom: {
50: '#cdaaef',
500: '#b587e8',
950: '#000000',
},
}SCSS
$custom: #b587e8; $custom-light: #cdaaef; $custom-dark: #000000;
JSON
{
"hex": "#b587e8",
"rgb": {
"r": 181,
"g": 135,
"b": 232
},
"hsl": {
"h": 268.454,
"s": 67.832,
"l": 71.961
},
"oklch": {
"l": 0.70553,
"c": 0.14467,
"h": 304.8
},
"luminance": 0.32978
}Semantic roles & 50–950 ramp
primary
#B587E8
secondary
#E6F2D9
accent
#D01678
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84