#B56EF1#B56EF1
#B56EF1 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.195 H 306.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B56EF1 |
|---|---|
| RGB | rgb(181, 110, 241) |
| HSL | hsl(273, 82%, 69%) |
| HSV | hsv(273, 54%, 95%) |
| CMYK | cmyk(24.9%, 54.4%, 0%, 5.5%) |
| CIE-LAB | lab(59.28, 51.80, -55.33) |
| CIE-LCH | lch(59.28, 75.80, 313.11°) |
| OKLab | oklab(67.07% 0.117 -0.1556) |
| OKLCH | oklch(67.07% 0.195 306.9) |
| XYZ | xyz(40.5059, 27.3269, 86.3428) |
| Luminance | 0.2733 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.97
Easter Purple
#C071FE
ΔE00 2.49
Light Purple
#BF77F6
ΔE00 2.85
Bright Lavender
#C760FF
ΔE00 3.84
Bright Lilac
#C95EFB
ΔE00 4.16
Lighter Purple
#A55AF4
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56EF1 #AAF16E
analogous
#746EF1 #B56EF1 #F16EEC
triadic
#B56EF1 #F1B56E #6EF1B5
tetradic
#B56EF1 #F1746E #AAF16E #6EECF1
square
#B56EF1 #F1746E #AAF16E #6EECF1
split-complementary
#B56EF1 #ECF16E #6EF174
monochromatic
#7A14D0 #9936EC #B56EF1 #D1A6F6 #EEDEFC
Accessibility & contrast
On white
3.25
#B56EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#B56EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56EF1
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56EF1 | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#AC86A5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b56ef1; /* rgb */ color: rgb(181, 110, 241); /* oklch */ color: oklch(67.1% 0.195 306.9);
Tailwind
colors: {
custom: {
50: '#ce9af6',
500: '#b56ef1',
950: '#000000',
},
}SCSS
$custom: #b56ef1; $custom-light: #ce9af6; $custom-dark: #000000;
JSON
{
"hex": "#b56ef1",
"rgb": {
"r": 181,
"g": 110,
"b": 241
},
"hsl": {
"h": 272.519,
"s": 82.39,
"l": 68.824
},
"oklch": {
"l": 0.67075,
"c": 0.1947,
"h": 306.9
},
"luminance": 0.27326
}Semantic roles & 50–950 ramp
primary
#B56EF1
secondary
#DCF1CA
accent
#DF076A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85