#B166BD#B166BD
#B166BD is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.6% C 0.149 H 321.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B166BD |
|---|---|
| RGB | rgb(177, 102, 189) |
| HSL | hsl(292, 40%, 57%) |
| HSV | hsv(292, 46%, 74%) |
| CMYK | cmyk(6.3%, 46%, 0%, 25.9%) |
| CIE-LAB | lab(54.58, 43.85, -33.42) |
| CIE-LCH | lch(54.58, 55.14, 322.69°) |
| OKLab | oklab(62.65% 0.1175 -0.0921) |
| OKLCH | oklch(62.65% 0.149 321.9) |
| XYZ | xyz(32.0671, 22.5253, 50.7929) |
| Luminance | 0.2252 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.55
Mediumorchid
#BA55D3
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 5.72
Pinky Purple
#C94CBE
ΔE00 6.08
Orchid (survey)
#C875C4
ΔE00 6.27
Deep Lilac
#966EBD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166BD #72BD66
analogous
#8666BD #B166BD #BD669E
triadic
#B166BD #BDB166 #66BDB1
tetradic
#B166BD #BD8666 #72BD66 #669EBD
square
#B166BD #BD8666 #72BD66 #669EBD
split-complementary
#B166BD #9EBD66 #66BD86
monochromatic
#6D3376 #9445A1 #B166BD #C791CF #DDBCE2
Accessibility & contrast
On white
3.81
#B166BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#B166BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166BD
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166BD | 1.00 | 3.81 | 5.50 | 5.50 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#6F86BA
Tritanopia (blue-blind)
#B37189
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b166bd; /* rgb */ color: rgb(177, 102, 189); /* oklch */ color: oklch(62.6% 0.149 321.9);
Tailwind
colors: {
custom: {
50: '#ca94d1',
500: '#b166bd',
950: '#000000',
},
}SCSS
$custom: #b166bd; $custom-light: #ca94d1; $custom-dark: #000000;
JSON
{
"hex": "#b166bd",
"rgb": {
"r": 177,
"g": 102,
"b": 189
},
"hsl": {
"h": 291.724,
"s": 39.726,
"l": 57.059
},
"oklch": {
"l": 0.62647,
"c": 0.1493,
"h": 321.9
},
"luminance": 0.22524
}Semantic roles & 50–950 ramp
primary
#B166BD
secondary
#B3D1AE
accent
#D05869
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82