#B56AF0#B56AF0
#B56AF0 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.4% C 0.200 H 307.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B56AF0 |
|---|---|
| RGB | rgb(181, 106, 240) |
| HSL | hsl(274, 82%, 68%) |
| HSV | hsv(274, 56%, 94%) |
| CMYK | cmyk(24.6%, 55.8%, 0%, 5.9%) |
| CIE-LAB | lab(58.44, 53.64, -56.12) |
| CIE-LCH | lch(58.44, 77.63, 313.71°) |
| OKLab | oklab(66.44% 0.122 -0.1579) |
| OKLCH | oklch(66.44% 0.2 307.7) |
| XYZ | xyz(39.9351, 26.4236, 85.4176) |
| Luminance | 0.2642 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.57
Easter Purple
#C071FE
ΔE00 3.04
Bright Lavender
#C760FF
ΔE00 3.44
Light Purple
#BF77F6
ΔE00 3.63
Bright Lilac
#C95EFB
ΔE00 3.70
Lighter Purple
#A55AF4
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56AF0 #A5F06A
analogous
#726AF0 #B56AF0 #F06AE8
triadic
#B56AF0 #F0B56A #6AF0B5
tetradic
#B56AF0 #F0726A #A5F06A #6AE8F0
square
#B56AF0 #F0726A #A5F06A #6AE8F0
split-complementary
#B56AF0 #E8F06A #6AF072
monochromatic
#7B14CB #9932EA #B56AF0 #D1A2F6 #ECD9FB
Accessibility & contrast
On white
3.34
#B56AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#B56AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56AF0
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56AF0 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#AC83A3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b56af0; /* rgb */ color: rgb(181, 106, 240); /* oklch */ color: oklch(66.4% 0.200 307.7);
Tailwind
colors: {
custom: {
50: '#ce97f5',
500: '#b56af0',
950: '#000000',
},
}SCSS
$custom: #b56af0; $custom-light: #ce97f5; $custom-dark: #000000;
JSON
{
"hex": "#b56af0",
"rgb": {
"r": 181,
"g": 106,
"b": 240
},
"hsl": {
"h": 273.582,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.66441,
"c": 0.19954,
"h": 307.7
},
"luminance": 0.26423
}Semantic roles & 50–950 ramp
primary
#B56AF0
secondary
#D8F0C6
accent
#DE0766
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85