#B159B2#B159B2
#B159B2 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.160 H 326.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B159B2 |
|---|---|
| RGB | rgb(177, 89, 178) |
| HSL | hsl(299, 37%, 52%) |
| HSV | hsv(299, 50%, 70%) |
| CMYK | cmyk(0.6%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(51.51, 48.47, -31.86) |
| CIE-LCH | lch(51.51, 58.01, 326.68°) |
| OKLab | oklab(60.2% 0.1343 -0.0875) |
| OKLCH | oklch(60.2% 0.16 326.9) |
| XYZ | xyz(29.7392, 19.7078, 44.3484) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.48
Purpley Pink
#C83CB9
ΔE00 5.45
Mediumorchid
#BA55D3
ΔE00 5.77
Soft Purple
#A66FB5
ΔE00 6.12
Amethyst
#9B5FC0
ΔE00 6.18
Ugly Purple
#A442A0
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B159B2 #5AB259
analogous
#8559B2 #B159B2 #B25986
triadic
#B159B2 #B2B159 #59B2B1
tetradic
#B159B2 #B28559 #5AB259 #5986B2
square
#B159B2 #B28559 #5AB259 #5986B2
split-complementary
#B159B2 #86B259 #59B285
monochromatic
#622E63 #8C418D #B159B2 #C583C5 #D8ADD9
Accessibility & contrast
On white
4.25
#B159B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#B159B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B159B2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B159B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B159B2 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#B5637D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b159b2; /* rgb */ color: rgb(177, 89, 178); /* oklch */ color: oklch(60.2% 0.160 326.9);
Tailwind
colors: {
custom: {
50: '#ca8bc9',
500: '#b159b2',
950: '#000000',
},
}SCSS
$custom: #b159b2; $custom-light: #ca8bc9; $custom-dark: #000000;
JSON
{
"hex": "#b159b2",
"rgb": {
"r": 177,
"g": 89,
"b": 178
},
"hsl": {
"h": 299.326,
"s": 36.626,
"l": 52.353
},
"oklch": {
"l": 0.60202,
"c": 0.16031,
"h": 326.9
},
"luminance": 0.19706
}Semantic roles & 50–950 ramp
primary
#B159B2
secondary
#A0C7A0
accent
#CD5B5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82