#B56EE2#B56EE2
#B56EE2 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.178 H 310.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B56EE2 |
|---|---|
| RGB | rgb(181, 110, 226) |
| HSL | hsl(277, 67%, 66%) |
| HSV | hsv(277, 51%, 89%) |
| CMYK | cmyk(19.9%, 51.3%, 0%, 11.4%) |
| CIE-LAB | lab(58.48, 48.47, -48.24) |
| CIE-LCH | lch(58.48, 68.38, 315.13°) |
| OKLab | oklab(66.23% 0.116 -0.1349) |
| OKLCH | oklch(66.23% 0.178 310.7) |
| XYZ | xyz(38.3569, 26.4673, 75.0248) |
| Luminance | 0.2647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.32
Light Purple
#BF77F6
ΔE00 3.80
Easter Purple
#C071FE
ΔE00 4.25
Bright Lilac
#C95EFB
ΔE00 4.96
Bright Lavender
#C760FF
ΔE00 5.02
Mediumorchid
#BA55D3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56EE2 #9BE26E
analogous
#7B6EE2 #B56EE2 #E26ED5
triadic
#B56EE2 #E2B56E #6EE2B5
tetradic
#B56EE2 #E27B6E #9BE26E #6ED5E2
square
#B56EE2 #E27B6E #9BE26E #6ED5E2
split-complementary
#B56EE2 #D5E26E #6EE27B
monochromatic
#7B24B2 #9B3BD8 #B56EE2 #CFA1EC #E9D4F6
Accessibility & contrast
On white
3.34
#B56EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#B56EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56EE2
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56EE2 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#B0819E
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b56ee2; /* rgb */ color: rgb(181, 110, 226); /* oklch */ color: oklch(66.2% 0.178 310.7);
Tailwind
colors: {
custom: {
50: '#ce9aeb',
500: '#b56ee2',
950: '#000000',
},
}SCSS
$custom: #b56ee2; $custom-light: #ce9aeb; $custom-dark: #000000;
JSON
{
"hex": "#b56ee2",
"rgb": {
"r": 181,
"g": 110,
"b": 226
},
"hsl": {
"h": 276.724,
"s": 66.667,
"l": 65.882
},
"oklch": {
"l": 0.66228,
"c": 0.17792,
"h": 310.7
},
"luminance": 0.26467
}Semantic roles & 50–950 ramp
primary
#B56EE2
secondary
#D2E9C3
accent
#CF175E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84