#B587FB#B587FB
#B587FB is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.168 H 300.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B587FB |
|---|---|
| RGB | rgb(181, 135, 251) |
| HSL | hsl(264, 94%, 76%) |
| HSV | hsv(264, 46%, 98%) |
| CMYK | cmyk(27.9%, 46.2%, 0%, 1.6%) |
| CIE-LAB | lab(65.05, 40.69, -51.67) |
| CIE-LCH | lch(65.05, 65.77, 308.23°) |
| OKLab | oklab(71.54% 0.0855 -0.145) |
| OKLCH | oklch(71.54% 0.168 300.5) |
| XYZ | xyz(45.1286, 34.1165, 95.4557) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.20
Light Purple
#BF77F6
ΔE00 4.57
Easter Purple
#C071FE
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 5.92
Baby Purple
#CA9BF7
ΔE00 6.63
Pastel Purple
#CAA0FF
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B587FB #CDFB87
analogous
#8793FB #B587FB #EF87FB
triadic
#B587FB #FBB587 #87FBB5
tetradic
#B587FB #FB8793 #CDFB87 #87FBEF
square
#B587FB #FB8793 #CDFB87 #87FBEF
split-complementary
#B587FB #FBEF87 #93FB87
monochromatic
#6C11F7 #904CF9 #B587FB #DAC2FD #EDE1FE
Accessibility & contrast
On white
2.68
#B587FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#B587FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B587FB
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B587FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B587FB | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#A89CB5
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b587fb; /* rgb */ color: rgb(181, 135, 251); /* oklch */ color: oklch(71.5% 0.168 300.5);
Tailwind
colors: {
custom: {
50: '#ceabfd',
500: '#b587fb',
950: '#000000',
},
}SCSS
$custom: #b587fb; $custom-light: #ceabfd; $custom-dark: #000000;
JSON
{
"hex": "#b587fb",
"rgb": {
"r": 181,
"g": 135,
"b": 251
},
"hsl": {
"h": 263.793,
"s": 93.548,
"l": 75.686
},
"oklch": {
"l": 0.71536,
"c": 0.16829,
"h": 300.5
},
"luminance": 0.34117
}Semantic roles & 50–950 ramp
primary
#B587FB
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86