#B56BE6#B56BE6
#B56BE6 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.187 H 310.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B56BE6 |
|---|---|
| RGB | rgb(181, 107, 230) |
| HSL | hsl(276, 71%, 66%) |
| HSV | hsv(276, 53%, 90%) |
| CMYK | cmyk(21.3%, 53.5%, 0%, 9.8%) |
| CIE-LAB | lab(58.09, 50.91, -51.10) |
| CIE-LCH | lch(58.09, 72.13, 314.89°) |
| OKLab | oklab(66.01% 0.1203 -0.1432) |
| OKLCH | oklch(66.01% 0.187 310) |
| XYZ | xyz(38.5940, 26.0530, 77.8432) |
| Luminance | 0.2605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.79
Light Purple
#BF77F6
ΔE00 3.91
Easter Purple
#C071FE
ΔE00 3.93
Bright Lilac
#C95EFB
ΔE00 4.28
Bright Lavender
#C760FF
ΔE00 4.30
Mediumorchid
#BA55D3
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56BE6 #9CE66B
analogous
#776BE6 #B56BE6 #E66BD9
triadic
#B56BE6 #E6B56B #6BE6B5
tetradic
#B56BE6 #E6776B #9CE66B #6BD9E6
square
#B56BE6 #E6776B #9CE66B #6BD9E6
split-complementary
#B56BE6 #D9E66B #6BE677
monochromatic
#7B1FB8 #9B37DD #B56BE6 #CF9FEF #E9D4F8
Accessibility & contrast
On white
3.38
#B56BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#B56BE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56BE6
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56BE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56BE6 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4788EA
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#AF809F
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b56be6; /* rgb */ color: rgb(181, 107, 230); /* oklch */ color: oklch(66.0% 0.187 310.0);
Tailwind
colors: {
custom: {
50: '#ce98ee',
500: '#b56be6',
950: '#000000',
},
}SCSS
$custom: #b56be6; $custom-light: #ce98ee; $custom-dark: #000000;
JSON
{
"hex": "#b56be6",
"rgb": {
"r": 181,
"g": 107,
"b": 230
},
"hsl": {
"h": 276.098,
"s": 71.098,
"l": 66.078
},
"oklch": {
"l": 0.66007,
"c": 0.18702,
"h": 310
},
"luminance": 0.26052
}Semantic roles & 50–950 ramp
primary
#B56BE6
secondary
#D2EBC2
accent
#D3125F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84