#B156F1#B156F1
#B156F1 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.227 H 308.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B156F1 |
|---|---|
| RGB | rgb(177, 86, 241) |
| HSL | hsl(275, 85%, 64%) |
| HSV | hsv(275, 64%, 95%) |
| CMYK | cmyk(26.6%, 64.3%, 0%, 5.5%) |
| CIE-LAB | lab(54.40, 62.72, -63.17) |
| CIE-LCH | lch(54.40, 89.02, 314.80°) |
| OKLab | oklab(63.42% 0.1406 -0.1786) |
| OKLCH | oklch(63.42% 0.227 308.2) |
| XYZ | xyz(37.3332, 22.3541, 85.5501) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.26
Lightish Purple
#A552E6
ΔE00 2.90
Bright Lilac
#C95EFB
ΔE00 4.96
Bright Lavender
#C760FF
ΔE00 4.99
Mediumorchid
#BA55D3
ΔE00 5.30
Light Urple
#B36FF6
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B156F1 #96F156
analogous
#6456F1 #B156F1 #F156E3
triadic
#B156F1 #F1B156 #56F1B1
tetradic
#B156F1 #F16456 #96F156 #56E3F1
square
#B156F1 #F16456 #96F156 #56E3F1
split-complementary
#B156F1 #E3F156 #56F164
monochromatic
#7510BD #971DEC #B156F1 #CB8FF6 #E5C7FA
Accessibility & contrast
On white
3.84
#B156F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#B156F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B156F1
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B156F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B156F1 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#A7769C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b156f1; /* rgb */ color: rgb(177, 86, 241); /* oklch */ color: oklch(63.4% 0.227 308.2);
Tailwind
colors: {
custom: {
50: '#cd8bf6',
500: '#b156f1',
950: '#000000',
},
}SCSS
$custom: #b156f1; $custom-light: #cd8bf6; $custom-dark: #000000;
JSON
{
"hex": "#b156f1",
"rgb": {
"r": 177,
"g": 86,
"b": 241
},
"hsl": {
"h": 275.226,
"s": 84.699,
"l": 64.118
},
"oklch": {
"l": 0.63422,
"c": 0.22732,
"h": 308.2
},
"luminance": 0.22354
}Semantic roles & 50–950 ramp
primary
#B156F1
secondary
#CDECB6
accent
#E10460
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85