#B166C0#B166C0
#B166C0 is a light, vivid purple. Relative luminance 0.227; OKLCH L 62.8% C 0.152 H 320.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B166C0 |
|---|---|
| RGB | rgb(177, 102, 192) |
| HSL | hsl(290, 42%, 58%) |
| HSV | hsv(290, 47%, 75%) |
| CMYK | cmyk(7.8%, 46.9%, 0%, 24.7%) |
| CIE-LAB | lab(54.72, 44.45, -34.93) |
| CIE-LCH | lch(54.72, 56.53, 321.84°) |
| OKLab | oklab(62.79% 0.118 -0.0964) |
| OKLCH | oklch(62.79% 0.152 320.8) |
| XYZ | xyz(32.3961, 22.6569, 52.5257) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.81
Mediumorchid
#BA55D3
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 5.45
Pinky Purple
#C94CBE
ΔE00 6.17
Deep Lilac
#966EBD
ΔE00 6.19
Orchid (survey)
#C875C4
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166C0 #75C066
analogous
#8466C0 #B166C0 #C066A2
triadic
#B166C0 #C0B166 #66C0B1
tetradic
#B166C0 #C08466 #75C066 #66A2C0
square
#B166C0 #C08466 #75C066 #66A2C0
split-complementary
#B166C0 #A2C066 #66C084
monochromatic
#6E327A #9544A5 #B166C0 #C791D2 #DDBDE4
Accessibility & contrast
On white
3.80
#B166C0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#B166C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166C0
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166C0 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597EC3
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#B2728A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b166c0; /* rgb */ color: rgb(177, 102, 192); /* oklch */ color: oklch(62.8% 0.152 320.8);
Tailwind
colors: {
custom: {
50: '#ca94d3',
500: '#b166c0',
950: '#000000',
},
}SCSS
$custom: #b166c0; $custom-light: #ca94d3; $custom-dark: #000000;
JSON
{
"hex": "#b166c0",
"rgb": {
"r": 177,
"g": 102,
"b": 192
},
"hsl": {
"h": 290,
"s": 41.667,
"l": 57.647
},
"oklch": {
"l": 0.62794,
"c": 0.1524,
"h": 320.8
},
"luminance": 0.22656
}Semantic roles & 50–950 ramp
primary
#B166C0
secondary
#B5D3AF
accent
#D1566B
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130D14
muted
#827E83