#B166B2#B166B2
#B166B2 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.1% C 0.138 H 326.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B166B2 |
|---|---|
| RGB | rgb(177, 102, 178) |
| HSL | hsl(299, 33%, 55%) |
| HSV | hsv(299, 43%, 70%) |
| CMYK | cmyk(0.6%, 42.7%, 0%, 30.2%) |
| CIE-LAB | lab(54.10, 41.73, -27.83) |
| CIE-LCH | lch(54.10, 50.16, 326.30°) |
| OKLab | oklab(62.13% 0.1154 -0.0761) |
| OKLCH | oklch(62.13% 0.138 326.6) |
| XYZ | xyz(30.9181, 22.0657, 44.7414) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.49
Dark Lilac
#9C6DA5
ΔE00 5.24
Purplish Pink
#CE5DAE
ΔE00 6.11
Orchid (survey)
#C875C4
ΔE00 6.18
Pinky Purple
#C94CBE
ΔE00 6.30
Amethyst
#9B5FC0
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166B2 #67B266
analogous
#8B66B2 #B166B2 #B2668D
triadic
#B166B2 #B2B166 #66B2B1
tetradic
#B166B2 #B28B66 #67B266 #668DB2
square
#B166B2 #B28B66 #67B266 #668DB2
split-complementary
#B166B2 #8DB266 #66B28B
monochromatic
#683569 #914992 #B166B2 #C68FC6 #DBB7DB
Accessibility & contrast
On white
3.88
#B166B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#B166B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166B2
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166B2 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#B56E84
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b166b2; /* rgb */ color: rgb(177, 102, 178); /* oklch */ color: oklch(62.1% 0.138 326.6);
Tailwind
colors: {
custom: {
50: '#ca94c9',
500: '#b166b2',
950: '#000000',
},
}SCSS
$custom: #b166b2; $custom-light: #ca94c9; $custom-dark: #000000;
JSON
{
"hex": "#b166b2",
"rgb": {
"r": 177,
"g": 102,
"b": 178
},
"hsl": {
"h": 299.211,
"s": 33.043,
"l": 54.902
},
"oklch": {
"l": 0.62128,
"c": 0.13826,
"h": 326.6
},
"luminance": 0.22064
}Semantic roles & 50–950 ramp
primary
#B166B2
secondary
#AACAAA
accent
#C95F60
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82