#B166B5#B166B5
#B166B5 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.3% C 0.141 H 325.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B166B5 |
|---|---|
| RGB | rgb(177, 102, 181) |
| HSL | hsl(297, 35%, 55%) |
| HSV | hsv(297, 44%, 71%) |
| CMYK | cmyk(2.2%, 43.6%, 0%, 29%) |
| CIE-LAB | lab(54.23, 42.30, -29.37) |
| CIE-LCH | lch(54.23, 51.49, 325.23°) |
| OKLab | oklab(62.27% 0.1161 -0.0805) |
| OKLCH | oklch(62.27% 0.141 325.3) |
| XYZ | xyz(31.2226, 22.1875, 46.3451) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.35
Dark Lilac
#9C6DA5
ΔE00 5.48
Orchid (survey)
#C875C4
ΔE00 6.12
Pinky Purple
#C94CBE
ΔE00 6.15
Purplish Pink
#CE5DAE
ΔE00 6.42
Mediumorchid
#BA55D3
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166B5 #6AB566
analogous
#8966B5 #B166B5 #B56691
triadic
#B166B5 #B5B166 #66B5B1
tetradic
#B166B5 #B58966 #6AB566 #6691B5
square
#B166B5 #B58966 #6AB566 #6691B5
split-complementary
#B166B5 #91B566 #66B589
monochromatic
#69346C #924895 #B166B5 #C68FC9 #DBB8DD
Accessibility & contrast
On white
3.86
#B166B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#B166B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166B5
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166B5 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7CB8
Deuteranopia (green-blind)
#7385B3
Tritanopia (blue-blind)
#B46E85
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b166b5; /* rgb */ color: rgb(177, 102, 181); /* oklch */ color: oklch(62.3% 0.141 325.3);
Tailwind
colors: {
custom: {
50: '#ca94cb',
500: '#b166b5',
950: '#000000',
},
}SCSS
$custom: #b166b5; $custom-light: #ca94cb; $custom-dark: #000000;
JSON
{
"hex": "#b166b5",
"rgb": {
"r": 177,
"g": 102,
"b": 181
},
"hsl": {
"h": 296.962,
"s": 34.802,
"l": 55.49
},
"oklch": {
"l": 0.62266,
"c": 0.14121,
"h": 325.3
},
"luminance": 0.22186
}Semantic roles & 50–950 ramp
primary
#B166B5
secondary
#ADCCAB
accent
#CB5D63
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82