#B586FD#B586FD
#B586FD is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.172 H 300.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B586FD |
|---|---|
| RGB | rgb(181, 134, 253) |
| HSL | hsl(264, 97%, 76%) |
| HSV | hsv(264, 47%, 99%) |
| CMYK | cmyk(28.5%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(64.94, 41.72, -52.95) |
| CIE-LCH | lch(64.94, 67.41, 308.24°) |
| OKLab | oklab(71.48% 0.087 -0.1487) |
| OKLCH | oklch(71.48% 0.172 300.3) |
| XYZ | xyz(45.3067, 33.9656, 97.0786) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.42
Light Purple
#BF77F6
ΔE00 4.44
Easter Purple
#C071FE
ΔE00 5.35
Light Urple
#B36FF6
ΔE00 5.69
Baby Purple
#CA9BF7
ΔE00 6.95
Pastel Purple
#CAA0FF
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586FD #CEFD86
analogous
#8692FD #B586FD #F086FD
triadic
#B586FD #FDB586 #86FDB5
tetradic
#B586FD #FD8692 #CEFD86 #86FDF0
square
#B586FD #FD8692 #CEFD86 #86FDF0
split-complementary
#B586FD #FDF086 #92FD86
monochromatic
#6B0EFB #904AFC #B586FD #DAC2FE #EDE1FF
Accessibility & contrast
On white
2.69
#B586FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#B586FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586FD
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586FD | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#A79CB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b586fd; /* rgb */ color: rgb(181, 134, 253); /* oklch */ color: oklch(71.5% 0.172 300.3);
Tailwind
colors: {
custom: {
50: '#ceaafe',
500: '#b586fd',
950: '#000000',
},
}SCSS
$custom: #b586fd; $custom-light: #ceaafe; $custom-dark: #000000;
JSON
{
"hex": "#b586fd",
"rgb": {
"r": 181,
"g": 134,
"b": 253
},
"hsl": {
"h": 263.697,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.71479,
"c": 0.1723,
"h": 300.3
},
"luminance": 0.33966
}Semantic roles & 50–950 ramp
primary
#B586FD
secondary
#E9F7D4
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86