#B156E2#B156E2
#B156E2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.212 H 311.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B156E2 |
|---|---|
| RGB | rgb(177, 86, 226) |
| HSL | hsl(279, 71%, 61%) |
| HSV | hsv(279, 62%, 89%) |
| CMYK | cmyk(21.7%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(53.49, 59.50, -56.22) |
| CIE-LCH | lch(53.49, 81.86, 316.62°) |
| OKLab | oklab(62.47% 0.1413 -0.1582) |
| OKLCH | oklch(62.47% 0.212 311.8) |
| XYZ | xyz(35.1842, 21.4945, 74.2322) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.81
Mediumorchid
#BA55D3
ΔE00 3.32
Lighter Purple
#A55AF4
ΔE00 3.82
Bright Lilac
#C95EFB
ΔE00 5.70
Bright Lavender
#C760FF
ΔE00 5.98
Amethyst
#9B5FC0
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B156E2 #87E256
analogous
#6B56E2 #B156E2 #E256CD
triadic
#B156E2 #E2B156 #56E2B1
tetradic
#B156E2 #E26B56 #87E256 #56CDE2
square
#B156E2 #E26B56 #87E256 #56CDE2
split-complementary
#B156E2 #CDE256 #56E26B
monochromatic
#731CA2 #9825D6 #B156E2 #C98AEB #E1BEF4
Accessibility & contrast
On white
3.96
#B156E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#B156E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B156E2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B156E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B156E2 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#187BE6
Deuteranopia (green-blind)
#4A82DF
Tritanopia (blue-blind)
#AB7194
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #b156e2; /* rgb */ color: rgb(177, 86, 226); /* oklch */ color: oklch(62.5% 0.212 311.8);
Tailwind
colors: {
custom: {
50: '#cc8bec',
500: '#b156e2',
950: '#000000',
},
}SCSS
$custom: #b156e2; $custom-light: #cc8bec; $custom-dark: #000000;
JSON
{
"hex": "#b156e2",
"rgb": {
"r": 177,
"g": 86,
"b": 226
},
"hsl": {
"h": 279,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.62469,
"c": 0.21215,
"h": 311.8
},
"luminance": 0.21494
}Semantic roles & 50–950 ramp
primary
#B156E2
secondary
#C2E4B0
accent
#D31356
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84