#B556E6#B556E6
#B556E6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.2% C 0.218 H 312.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B556E6 |
|---|---|
| RGB | rgb(181, 86, 230) |
| HSL | hsl(280, 74%, 62%) |
| HSV | hsv(280, 63%, 90%) |
| CMYK | cmyk(21.3%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(54.23, 61.25, -57.25) |
| CIE-LCH | lch(54.23, 83.84, 316.93°) |
| OKLab | oklab(63.19% 0.1461 -0.1611) |
| OKLCH | oklch(63.19% 0.218 312.2) |
| XYZ | xyz(36.6642, 22.1935, 77.1999) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.37
Mediumorchid
#BA55D3
ΔE00 3.40
Lighter Purple
#A55AF4
ΔE00 3.89
Bright Lilac
#C95EFB
ΔE00 4.88
Bright Lavender
#C760FF
ΔE00 5.18
Heliotrope
#D94FF5
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B556E6 #87E656
analogous
#6D56E6 #B556E6 #E656CF
triadic
#B556E6 #E6B556 #56E6B5
tetradic
#B556E6 #E66D56 #87E656 #56CFE6
square
#B556E6 #E66D56 #87E656 #56CFE6
split-complementary
#B556E6 #CFE656 #56E66D
monochromatic
#7819A9 #9E21DE #B556E6 #CC8BEE #E4C1F6
Accessibility & contrast
On white
3.86
#B556E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#B556E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B556E6
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B556E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B556E6 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#127DEA
Deuteranopia (green-blind)
#4B84E3
Tritanopia (blue-blind)
#B07296
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b556e6; /* rgb */ color: rgb(181, 86, 230); /* oklch */ color: oklch(63.2% 0.218 312.2);
Tailwind
colors: {
custom: {
50: '#cf8bef',
500: '#b556e6',
950: '#000000',
},
}SCSS
$custom: #b556e6; $custom-light: #cf8bef; $custom-dark: #000000;
JSON
{
"hex": "#b556e6",
"rgb": {
"r": 181,
"g": 86,
"b": 230
},
"hsl": {
"h": 279.583,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.63193,
"c": 0.21753,
"h": 312.2
},
"luminance": 0.22193
}Semantic roles & 50–950 ramp
primary
#B556E6
secondary
#C3E6B1
accent
#D60F53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84