#B587FD#B587FD
#B587FD is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.171 H 300.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B587FD |
|---|---|
| RGB | rgb(181, 135, 253) |
| HSL | hsl(263, 97%, 76%) |
| HSV | hsv(263, 47%, 99%) |
| CMYK | cmyk(28.5%, 46.6%, 0%, 0.8%) |
| CIE-LAB | lab(65.16, 41.17, -52.60) |
| CIE-LCH | lch(65.16, 66.80, 308.05°) |
| OKLab | oklab(71.64% 0.0857 -0.1477) |
| OKLCH | oklch(71.64% 0.171 300.1) |
| XYZ | xyz(45.4455, 34.2433, 97.1248) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.31
Light Purple
#BF77F6
ΔE00 4.66
Easter Purple
#C071FE
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 5.94
Baby Purple
#CA9BF7
ΔE00 6.77
Pastel Purple
#CAA0FF
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B587FD #CFFD87
analogous
#8794FD #B587FD #F087FD
triadic
#B587FD #FDB587 #87FDB5
tetradic
#B587FD #FD8794 #CFFD87 #87FDF0
square
#B587FD #FD8794 #CFFD87 #87FDF0
split-complementary
#B587FD #FDF087 #94FD87
monochromatic
#6B0FFB #904BFC #B587FD #DAC3FE #ECE1FE
Accessibility & contrast
On white
2.68
#B587FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#B587FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B587FD
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B587FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B587FD | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#A79CB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b587fd; /* rgb */ color: rgb(181, 135, 253); /* oklch */ color: oklch(71.6% 0.171 300.1);
Tailwind
colors: {
custom: {
50: '#ceabfe',
500: '#b587fd',
950: '#000000',
},
}SCSS
$custom: #b587fd; $custom-light: #ceabfe; $custom-dark: #000000;
JSON
{
"hex": "#b587fd",
"rgb": {
"r": 181,
"g": 135,
"b": 253
},
"hsl": {
"h": 263.39,
"s": 96.721,
"l": 76.078
},
"oklch": {
"l": 0.71644,
"c": 0.17077,
"h": 300.1
},
"luminance": 0.34244
}Semantic roles & 50–950 ramp
primary
#B587FD
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86