#B586FB#B586FB
#B586FB is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.4% C 0.170 H 300.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B586FB |
|---|---|
| RGB | rgb(181, 134, 251) |
| HSL | hsl(264, 94%, 75%) |
| HSV | hsv(264, 47%, 98%) |
| CMYK | cmyk(27.9%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(64.83, 41.24, -52.01) |
| CIE-LCH | lch(64.83, 66.38, 308.41°) |
| OKLab | oklab(71.37% 0.0868 -0.146) |
| OKLCH | oklch(71.37% 0.17 300.7) |
| XYZ | xyz(44.9897, 33.8388, 95.4094) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.32
Light Purple
#BF77F6
ΔE00 4.35
Easter Purple
#C071FE
ΔE00 5.35
Light Urple
#B36FF6
ΔE00 5.66
Baby Purple
#CA9BF7
ΔE00 6.81
Pastel Purple
#CAA0FF
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586FB #CCFB86
analogous
#8691FB #B586FB #F086FB
triadic
#B586FB #FBB586 #86FBB5
tetradic
#B586FB #FB8691 #CCFB86 #86FBF0
square
#B586FB #FB8691 #CCFB86 #86FBF0
split-complementary
#B586FB #FBF086 #91FB86
monochromatic
#6D10F7 #914BF9 #B586FB #D9C1FD #EDE1FE
Accessibility & contrast
On white
2.70
#B586FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#B586FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586FB
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586FB | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#A89BB5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b586fb; /* rgb */ color: rgb(181, 134, 251); /* oklch */ color: oklch(71.4% 0.170 300.7);
Tailwind
colors: {
custom: {
50: '#ceaafd',
500: '#b586fb',
950: '#000000',
},
}SCSS
$custom: #b586fb; $custom-light: #ceaafd; $custom-dark: #000000;
JSON
{
"hex": "#b586fb",
"rgb": {
"r": 181,
"g": 134,
"b": 251
},
"hsl": {
"h": 264.103,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.71371,
"c": 0.16982,
"h": 300.7
},
"luminance": 0.33839
}Semantic roles & 50–950 ramp
primary
#B586FB
secondary
#E9F6D5
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86