#B166AE#B166AE
#B166AE is a mid, vivid purple. Relative luminance 0.219; OKLCH L 61.9% C 0.134 H 328.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B166AE |
|---|---|
| RGB | rgb(177, 102, 174) |
| HSL | hsl(302, 32%, 55%) |
| HSV | hsv(302, 42%, 69%) |
| CMYK | cmyk(0%, 42.4%, 1.7%, 30.6%) |
| CIE-LAB | lab(53.93, 40.98, -25.78) |
| CIE-LCH | lch(53.93, 48.41, 327.83°) |
| OKLab | oklab(61.95% 0.1146 -0.0702) |
| OKLCH | oklch(61.95% 0.134 328.5) |
| XYZ | xyz(30.5223, 21.9074, 42.6570) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.86
Dark Lilac
#9C6DA5
ΔE00 5.02
Purplish Pink
#CE5DAE
ΔE00 5.79
Orchid (survey)
#C875C4
ΔE00 6.36
Pinky Purple
#C94CBE
ΔE00 6.60
Wisteria
#A87DC2
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166AE #66B169
analogous
#8F66B1 #B166AE #B16689
triadic
#B166AE #AEB166 #66AEB1
tetradic
#B166AE #B18F66 #66B169 #6689B1
square
#B166AE #B18F66 #66B169 #6689B1
split-complementary
#B166AE #89B166 #66B18F
monochromatic
#683566 #904A8D #B166AE #C68FC3 #DAB7D9
Accessibility & contrast
On white
3.90
#B166AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#B166AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166AE
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166AE | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#B66D82
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b166ae; /* rgb */ color: rgb(177, 102, 174); /* oklch */ color: oklch(61.9% 0.134 328.5);
Tailwind
colors: {
custom: {
50: '#ca94c6',
500: '#b166ae',
950: '#000000',
},
}SCSS
$custom: #b166ae; $custom-light: #ca94c6; $custom-dark: #000000;
JSON
{
"hex": "#b166ae",
"rgb": {
"r": 177,
"g": 102,
"b": 174
},
"hsl": {
"h": 302.4,
"s": 32.468,
"l": 54.706
},
"oklch": {
"l": 0.61947,
"c": 0.13439,
"h": 328.5
},
"luminance": 0.21906
}Semantic roles & 50–950 ramp
primary
#B166AE
secondary
#AAC9AB
accent
#C9635F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82