#B587FE#B587FE
#B587FE is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.172 H 299.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B587FE |
|---|---|
| RGB | rgb(181, 135, 254) |
| HSL | hsl(263, 98%, 76%) |
| HSV | hsv(263, 47%, 100%) |
| CMYK | cmyk(28.7%, 46.9%, 0%, 0.4%) |
| CIE-LAB | lab(65.21, 41.41, -53.07) |
| CIE-LCH | lch(65.21, 67.32, 307.97°) |
| OKLab | oklab(71.7% 0.0858 -0.1491) |
| OKLCH | oklch(71.7% 0.172 299.9) |
| XYZ | xyz(45.6053, 34.3072, 97.9660) |
| Luminance | 0.3431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.37
Light Purple
#BF77F6
ΔE00 4.71
Easter Purple
#C071FE
ΔE00 5.60
Light Urple
#B36FF6
ΔE00 5.96
Baby Purple
#CA9BF7
ΔE00 6.85
Pastel Purple
#CAA0FF
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B587FE #D0FE87
analogous
#8795FE #B587FE #F087FE
triadic
#B587FE #FEB587 #87FEB5
tetradic
#B587FE #FE8795 #D0FE87 #87FEF0
square
#B587FE #FE8795 #D0FE87 #87FEF0
split-complementary
#B587FE #FEF087 #95FE87
monochromatic
#6A0EFD #904AFD #B587FE #DAC4FF #ECE1FF
Accessibility & contrast
On white
2.67
#B587FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#B587FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B587FE
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B587FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B587FE | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#A79DB7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b587fe; /* rgb */ color: rgb(181, 135, 254); /* oklch */ color: oklch(71.7% 0.172 299.9);
Tailwind
colors: {
custom: {
50: '#ceabff',
500: '#b587fe',
950: '#000000',
},
}SCSS
$custom: #b587fe; $custom-light: #ceabff; $custom-dark: #000000;
JSON
{
"hex": "#b587fe",
"rgb": {
"r": 181,
"g": 135,
"b": 254
},
"hsl": {
"h": 263.193,
"s": 98.347,
"l": 76.275
},
"oklch": {
"l": 0.71698,
"c": 0.172,
"h": 299.9
},
"luminance": 0.34307
}Semantic roles & 50–950 ramp
primary
#B587FE
secondary
#E9F7D4
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86