#B586FC#B586FC
#B586FC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.4% C 0.171 H 300.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B586FC |
|---|---|
| RGB | rgb(181, 134, 252) |
| HSL | hsl(264, 95%, 76%) |
| HSV | hsv(264, 47%, 99%) |
| CMYK | cmyk(28.2%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(64.88, 41.48, -52.48) |
| CIE-LCH | lch(64.88, 66.90, 308.32°) |
| OKLab | oklab(71.43% 0.0869 -0.1474) |
| OKLCH | oklch(71.43% 0.171 300.5) |
| XYZ | xyz(45.1478, 33.9020, 96.2418) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.37
Light Purple
#BF77F6
ΔE00 4.39
Easter Purple
#C071FE
ΔE00 5.35
Light Urple
#B36FF6
ΔE00 5.67
Baby Purple
#CA9BF7
ΔE00 6.88
Pastel Purple
#CAA0FF
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B586FC #CDFC86
analogous
#8692FC #B586FC #F086FC
triadic
#B586FC #FCB586 #86FCB5
tetradic
#B586FC #FC8692 #CDFC86 #86FCF0
square
#B586FC #FC8692 #CDFC86 #86FCF0
split-complementary
#B586FC #FCF086 #92FC86
monochromatic
#6C0FF9 #904AFB #B586FC #DAC2FD #EDE1FE
Accessibility & contrast
On white
2.70
#B586FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#B586FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B586FC
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B586FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B586FC | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A79BB5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b586fc; /* rgb */ color: rgb(181, 134, 252); /* oklch */ color: oklch(71.4% 0.171 300.5);
Tailwind
colors: {
custom: {
50: '#ceaafe',
500: '#b586fc',
950: '#000000',
},
}SCSS
$custom: #b586fc; $custom-light: #ceaafe; $custom-dark: #000000;
JSON
{
"hex": "#b586fc",
"rgb": {
"r": 181,
"g": 134,
"b": 252
},
"hsl": {
"h": 263.898,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.71425,
"c": 0.17106,
"h": 300.5
},
"luminance": 0.33902
}Semantic roles & 50–950 ramp
primary
#B586FC
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86