#B157AE#B157AE
#B157AE is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.7% C 0.160 H 328.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B157AE |
|---|---|
| RGB | rgb(177, 87, 174) |
| HSL | hsl(302, 37%, 52%) |
| HSV | hsv(302, 51%, 69%) |
| CMYK | cmyk(0%, 50.8%, 1.7%, 30.6%) |
| CIE-LAB | lab(50.95, 48.74, -30.41) |
| CIE-LCH | lch(50.95, 57.45, 328.04°) |
| OKLab | oklab(59.73% 0.1365 -0.0833) |
| OKLCH | oklch(59.73% 0.16 328.6) |
| XYZ | xyz(29.1792, 19.2212, 42.2093) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.62
Purpley Pink
#C83CB9
ΔE00 5.26
Ugly Purple
#A442A0
ΔE00 6.27
Mediumorchid
#BA55D3
ΔE00 6.49
Soft Purple
#A66FB5
ΔE00 6.67
Amethyst
#9B5FC0
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B157AE #57B15A
analogous
#8757B1 #B157AE #B15781
triadic
#B157AE #AEB157 #57AEB1
tetradic
#B157AE #B18757 #57B15A #5781B1
square
#B157AE #B18757 #57B15A #5781B1
split-complementary
#B157AE #81B157 #57B187
monochromatic
#612D5F #8A4088 #B157AE #C481C2 #D8ABD6
Accessibility & contrast
On white
4.34
#B157AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#B157AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B157AE
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B157AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B157AE | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#6B7EAB
Tritanopia (blue-blind)
#B6607B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #b157ae; /* rgb */ color: rgb(177, 87, 174); /* oklch */ color: oklch(59.7% 0.160 328.6);
Tailwind
colors: {
custom: {
50: '#ca8ac6',
500: '#b157ae',
950: '#000000',
},
}SCSS
$custom: #b157ae; $custom-light: #ca8ac6; $custom-dark: #000000;
JSON
{
"hex": "#b157ae",
"rgb": {
"r": 177,
"g": 87,
"b": 174
},
"hsl": {
"h": 302,
"s": 36.585,
"l": 51.765
},
"oklch": {
"l": 0.59728,
"c": 0.15992,
"h": 328.6
},
"luminance": 0.19219
}Semantic roles & 50–950 ramp
primary
#B157AE
secondary
#9EC69F
accent
#CD5F5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82