#B166B3#B166B3
#B166B3 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.2% C 0.139 H 326.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B166B3 |
|---|---|
| RGB | rgb(177, 102, 179) |
| HSL | hsl(298, 34%, 55%) |
| HSV | hsv(298, 43%, 70%) |
| CMYK | cmyk(1.1%, 43%, 0%, 29.8%) |
| CIE-LAB | lab(54.14, 41.92, -28.35) |
| CIE-LCH | lch(54.14, 50.60, 325.93°) |
| OKLab | oklab(62.17% 0.1156 -0.0775) |
| OKLCH | oklch(62.17% 0.139 326.2) |
| XYZ | xyz(31.0189, 22.1060, 45.2721) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.43
Dark Lilac
#9C6DA5
ΔE00 5.31
Orchid (survey)
#C875C4
ΔE00 6.15
Purplish Pink
#CE5DAE
ΔE00 6.21
Pinky Purple
#C94CBE
ΔE00 6.24
Amethyst
#9B5FC0
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166B3 #68B366
analogous
#8B66B3 #B166B3 #B3668E
triadic
#B166B3 #B3B166 #66B3B1
tetradic
#B166B3 #B38B66 #68B366 #668EB3
square
#B166B3 #B38B66 #68B366 #668EB3
split-complementary
#B166B3 #8EB366 #66B38B
monochromatic
#69356A #914993 #B166B3 #C68FC7 #DBB8DC
Accessibility & contrast
On white
3.87
#B166B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#B166B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166B3
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166B3 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7BB6
Deuteranopia (green-blind)
#7485B1
Tritanopia (blue-blind)
#B56E84
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b166b3; /* rgb */ color: rgb(177, 102, 179); /* oklch */ color: oklch(62.2% 0.139 326.2);
Tailwind
colors: {
custom: {
50: '#ca94ca',
500: '#b166b3',
950: '#000000',
},
}SCSS
$custom: #b166b3; $custom-light: #ca94ca; $custom-dark: #000000;
JSON
{
"hex": "#b166b3",
"rgb": {
"r": 177,
"g": 102,
"b": 179
},
"hsl": {
"h": 298.442,
"s": 33.624,
"l": 55.098
},
"oklch": {
"l": 0.62174,
"c": 0.13923,
"h": 326.2
},
"luminance": 0.22105
}Semantic roles & 50–950 ramp
primary
#B166B3
secondary
#ABCBAA
accent
#CA5E61
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82