#B166B4#B166B4
#B166B4 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.2% C 0.140 H 325.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B166B4 |
|---|---|
| RGB | rgb(177, 102, 180) |
| HSL | hsl(298, 34%, 55%) |
| HSV | hsv(298, 43%, 71%) |
| CMYK | cmyk(1.7%, 43.3%, 0%, 29.4%) |
| CIE-LAB | lab(54.18, 42.11, -28.86) |
| CIE-LCH | lch(54.18, 51.05, 325.58°) |
| OKLab | oklab(62.22% 0.1159 -0.079) |
| OKLCH | oklch(62.22% 0.14 325.7) |
| XYZ | xyz(31.1204, 22.1466, 45.8066) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.38
Dark Lilac
#9C6DA5
ΔE00 5.39
Orchid (survey)
#C875C4
ΔE00 6.13
Pinky Purple
#C94CBE
ΔE00 6.19
Purplish Pink
#CE5DAE
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166B4 #69B466
analogous
#8A66B4 #B166B4 #B46690
triadic
#B166B4 #B4B166 #66B4B1
tetradic
#B166B4 #B48A66 #69B466 #6690B4
square
#B166B4 #B48A66 #69B466 #6690B4
split-complementary
#B166B4 #90B466 #66B48A
monochromatic
#69346B #914994 #B166B4 #C68FC8 #DBB8DC
Accessibility & contrast
On white
3.87
#B166B4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#B166B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166B4
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166B4 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#B56E85
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b166b4; /* rgb */ color: rgb(177, 102, 180); /* oklch */ color: oklch(62.2% 0.140 325.7);
Tailwind
colors: {
custom: {
50: '#ca94ca',
500: '#b166b4',
950: '#000000',
},
}SCSS
$custom: #b166b4; $custom-light: #ca94ca; $custom-dark: #000000;
JSON
{
"hex": "#b166b4",
"rgb": {
"r": 177,
"g": 102,
"b": 180
},
"hsl": {
"h": 297.692,
"s": 34.211,
"l": 55.294
},
"oklch": {
"l": 0.6222,
"c": 0.14022,
"h": 325.7
},
"luminance": 0.22145
}Semantic roles & 50–950 ramp
primary
#B166B4
secondary
#ACCBAB
accent
#CA5E62
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82