#B556E8#B556E8
#B556E8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.3% C 0.220 H 311.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B556E8 |
|---|---|
| RGB | rgb(181, 86, 232) |
| HSL | hsl(279, 76%, 62%) |
| HSV | hsv(279, 63%, 91%) |
| CMYK | cmyk(22%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(54.35, 61.67, -58.18) |
| CIE-LCH | lch(54.35, 84.79, 316.67°) |
| OKLab | oklab(63.32% 0.1461 -0.1639) |
| OKLCH | oklch(63.32% 0.22 311.7) |
| XYZ | xyz(36.9467, 22.3064, 78.6876) |
| Luminance | 0.2231 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.33
Lighter Purple
#A55AF4
ΔE00 3.67
Mediumorchid
#BA55D3
ΔE00 3.69
Bright Lilac
#C95EFB
ΔE00 4.74
Bright Lavender
#C760FF
ΔE00 5.01
Light Urple
#B36FF6
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B556E8 #89E856
analogous
#6C56E8 #B556E8 #E856D2
triadic
#B556E8 #E8B556 #56E8B5
tetradic
#B556E8 #E86C56 #89E856 #56D2E8
square
#B556E8 #E86C56 #89E856 #56D2E8
split-complementary
#B556E8 #D2E856 #56E86C
monochromatic
#7817AC #9D20E1 #B556E8 #CD8CEF #E4C2F7
Accessibility & contrast
On white
3.85
#B556E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#B556E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B556E8
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B556E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B556E8 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A7DEC
Deuteranopia (green-blind)
#4984E5
Tritanopia (blue-blind)
#AF7298
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b556e8; /* rgb */ color: rgb(181, 86, 232); /* oklch */ color: oklch(63.3% 0.220 311.7);
Tailwind
colors: {
custom: {
50: '#cf8bf0',
500: '#b556e8',
950: '#000000',
},
}SCSS
$custom: #b556e8; $custom-light: #cf8bf0; $custom-dark: #000000;
JSON
{
"hex": "#b556e8",
"rgb": {
"r": 181,
"g": 86,
"b": 232
},
"hsl": {
"h": 279.041,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.63317,
"c": 0.21952,
"h": 311.7
},
"luminance": 0.22306
}Semantic roles & 50–950 ramp
primary
#B556E8
secondary
#C5E8B2
accent
#D80D54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85