#B166B7#B166B7
#B166B7 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.4% C 0.143 H 324.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B166B7 |
|---|---|
| RGB | rgb(177, 102, 183) |
| HSL | hsl(296, 36%, 56%) |
| HSV | hsv(296, 44%, 72%) |
| CMYK | cmyk(3.3%, 44.3%, 0%, 28.2%) |
| CIE-LAB | lab(54.31, 42.68, -30.39) |
| CIE-LCH | lch(54.31, 52.40, 324.55°) |
| OKLab | oklab(62.36% 0.1164 -0.0834) |
| OKLCH | oklch(62.36% 0.143 324.4) |
| XYZ | xyz(31.4293, 22.2701, 47.4336) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.32
Dark Lilac
#9C6DA5
ΔE00 5.68
Pinky Purple
#C94CBE
ΔE00 6.09
Orchid (survey)
#C875C4
ΔE00 6.12
Mediumorchid
#BA55D3
ΔE00 6.35
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166B7 #6CB766
analogous
#8866B7 #B166B7 #B76694
triadic
#B166B7 #B7B166 #66B7B1
tetradic
#B166B7 #B78866 #6CB766 #6694B7
square
#B166B7 #B78866 #6CB766 #6694B7
split-complementary
#B166B7 #94B766 #66B788
monochromatic
#6A346F #924898 #B166B7 #C690CB #DBB9DE
Accessibility & contrast
On white
3.85
#B166B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#B166B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166B7
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166B7 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#7285B5
Tritanopia (blue-blind)
#B46F86
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b166b7; /* rgb */ color: rgb(177, 102, 183); /* oklch */ color: oklch(62.4% 0.143 324.4);
Tailwind
colors: {
custom: {
50: '#ca94cd',
500: '#b166b7',
950: '#000000',
},
}SCSS
$custom: #b166b7; $custom-light: #ca94cd; $custom-dark: #000000;
JSON
{
"hex": "#b166b7",
"rgb": {
"r": 177,
"g": 102,
"b": 183
},
"hsl": {
"h": 295.556,
"s": 36,
"l": 55.882
},
"oklch": {
"l": 0.6236,
"c": 0.14321,
"h": 324.4
},
"luminance": 0.22269
}Semantic roles & 50–950 ramp
primary
#B166B7
secondary
#AECDAC
accent
#CC5C64
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D13
muted
#827E82