#B587FC#B587FC
#B587FC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.170 H 300.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B587FC |
|---|---|
| RGB | rgb(181, 135, 252) |
| HSL | hsl(264, 95%, 76%) |
| HSV | hsv(264, 46%, 99%) |
| CMYK | cmyk(28.2%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(65.11, 40.93, -52.13) |
| CIE-LCH | lch(65.11, 66.28, 308.14°) |
| OKLab | oklab(71.59% 0.0856 -0.1463) |
| OKLCH | oklch(71.59% 0.17 300.3) |
| XYZ | xyz(45.2867, 34.1798, 96.2881) |
| Luminance | 0.3418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.25
Light Purple
#BF77F6
ΔE00 4.62
Easter Purple
#C071FE
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 5.93
Baby Purple
#CA9BF7
ΔE00 6.70
Pastel Purple
#CAA0FF
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B587FC #CEFC87
analogous
#8793FC #B587FC #F087FC
triadic
#B587FC #FCB587 #87FCB5
tetradic
#B587FC #FC8793 #CEFC87 #87FCF0
square
#B587FC #FC8793 #CEFC87 #87FCF0
split-complementary
#B587FC #FCF087 #93FC87
monochromatic
#6B10F9 #904BFB #B587FC #DAC3FD #EDE1FE
Accessibility & contrast
On white
2.68
#B587FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#B587FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B587FC
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B587FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B587FC | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#A79CB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b587fc; /* rgb */ color: rgb(181, 135, 252); /* oklch */ color: oklch(71.6% 0.170 300.3);
Tailwind
colors: {
custom: {
50: '#ceabfe',
500: '#b587fc',
950: '#000000',
},
}SCSS
$custom: #b587fc; $custom-light: #ceabfe; $custom-dark: #000000;
JSON
{
"hex": "#b587fc",
"rgb": {
"r": 181,
"g": 135,
"b": 252
},
"hsl": {
"h": 263.59,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.7159,
"c": 0.16952,
"h": 300.3
},
"luminance": 0.3418
}Semantic roles & 50–950 ramp
primary
#B587FC
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86