#B166DE#B166DE
#B166DE is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.185 H 311.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B166DE |
|---|---|
| RGB | rgb(177, 102, 222) |
| HSL | hsl(278, 65%, 64%) |
| HSV | hsv(278, 54%, 87%) |
| CMYK | cmyk(20.3%, 54.1%, 0%, 12.9%) |
| CIE-LAB | lab(56.21, 50.72, -49.62) |
| CIE-LCH | lch(56.21, 70.95, 315.63°) |
| OKLab | oklab(64.39% 0.1214 -0.139) |
| OKLCH | oklch(64.39% 0.185 311.1) |
| XYZ | xyz(36.0652, 24.1245, 71.8497) |
| Luminance | 0.2412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.28
Mediumorchid
#BA55D3
ΔE00 4.37
Bright Lilac
#C95EFB
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.28
Lighter Purple
#A55AF4
ΔE00 5.32
Easter Purple
#C071FE
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166DE #93DE66
analogous
#7566DE #B166DE #DE66CF
triadic
#B166DE #DEB166 #66DEB1
tetradic
#B166DE #DE7566 #93DE66 #66CFDE
square
#B166DE #DE7566 #93DE66 #66CFDE
split-complementary
#B166DE #CFDE66 #66DE75
monochromatic
#7524A6 #9734D3 #B166DE #CB98E9 #E4CBF4
Accessibility & contrast
On white
3.61
#B166DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#B166DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166DE
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166DE | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#AC7B98
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #b166de; /* rgb */ color: rgb(177, 102, 222); /* oklch */ color: oklch(64.4% 0.185 311.1);
Tailwind
colors: {
custom: {
50: '#cb94e9',
500: '#b166de',
950: '#000000',
},
}SCSS
$custom: #b166de; $custom-light: #cb94e9; $custom-dark: #000000;
JSON
{
"hex": "#b166de",
"rgb": {
"r": 177,
"g": 102,
"b": 222
},
"hsl": {
"h": 277.5,
"s": 64.516,
"l": 63.529
},
"oklch": {
"l": 0.64387,
"c": 0.18453,
"h": 311.1
},
"luminance": 0.24124
}Semantic roles & 50–950 ramp
primary
#B166DE
secondary
#CBE5BB
accent
#CC195C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84