#B156BF#B156BF
#B156BF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.177 H 322.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B156BF |
|---|---|
| RGB | rgb(177, 86, 191) |
| HSL | hsl(292, 45%, 54%) |
| HSV | hsv(292, 55%, 75%) |
| CMYK | cmyk(7.3%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(51.57, 52.41, -39.30) |
| CIE-LCH | lch(51.57, 65.50, 323.14°) |
| OKLab | oklab(60.45% 0.1401 -0.1089) |
| OKLCH | oklch(60.45% 0.177 322.1) |
| XYZ | xyz(30.8622, 19.7657, 51.4696) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.39
Pinky Purple
#C94CBE
ΔE00 4.56
Amethyst
#9B5FC0
ΔE00 4.79
Purpley Pink
#C83CB9
ΔE00 5.39
Pinkish Purple
#D648D7
ΔE00 6.57
Soft Purple
#A66FB5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B156BF #64BF56
analogous
#7D56BF #B156BF #BF5699
triadic
#B156BF #BFB156 #56BFB1
tetradic
#B156BF #BF7D56 #64BF56 #5699BF
square
#B156BF #BF7D56 #64BF56 #5699BF
split-complementary
#B156BF #99BF56 #56BF7D
monochromatic
#672A70 #903B9D #B156BF #C582D0 #DAAFE1
Accessibility & contrast
On white
4.24
#B156BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#B156BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B156BF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B156BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B156BF | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#B36582
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b156bf; /* rgb */ color: rgb(177, 86, 191); /* oklch */ color: oklch(60.5% 0.177 322.1);
Tailwind
colors: {
custom: {
50: '#cb8ad3',
500: '#b156bf',
950: '#000000',
},
}SCSS
$custom: #b156bf; $custom-light: #cb8ad3; $custom-dark: #000000;
JSON
{
"hex": "#b156bf",
"rgb": {
"r": 177,
"g": 86,
"b": 191
},
"hsl": {
"h": 292,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.60454,
"c": 0.17744,
"h": 322.1
},
"luminance": 0.19764
}Semantic roles & 50–950 ramp
primary
#B156BF
secondary
#A8CFA2
accent
#D55364
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82