#B166E6#B166E6
#B166E6 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.193 H 309.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B166E6 |
|---|---|
| RGB | rgb(177, 102, 230) |
| HSL | hsl(275, 72%, 65%) |
| HSV | hsv(275, 56%, 90%) |
| CMYK | cmyk(23%, 55.7%, 0%, 9.8%) |
| CIE-LAB | lab(56.65, 52.48, -53.42) |
| CIE-LCH | lch(56.65, 74.88, 314.49°) |
| OKLab | oklab(64.85% 0.1218 -0.1501) |
| OKLCH | oklch(64.85% 0.193 309.1) |
| XYZ | xyz(37.1630, 24.5636, 77.6311) |
| Luminance | 0.2456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.24
Bright Lilac
#C95EFB
ΔE00 4.44
Lighter Purple
#A55AF4
ΔE00 4.46
Bright Lavender
#C760FF
ΔE00 4.46
Easter Purple
#C071FE
ΔE00 4.81
Mediumorchid
#BA55D3
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166E6 #9BE666
analogous
#7166E6 #B166E6 #E666DB
triadic
#B166E6 #E6B166 #66E6B1
tetradic
#B166E6 #E67166 #9BE666 #66DBE6
square
#B166E6 #E67166 #9BE666 #66DBE6
split-complementary
#B166E6 #DBE666 #66E671
monochromatic
#761DB4 #9631DD #B166E6 #CC9BEF #E7CFF7
Accessibility & contrast
On white
3.55
#B166E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#B166E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166E6
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166E6 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C85EA
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#AA7D9C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b166e6; /* rgb */ color: rgb(177, 102, 230); /* oklch */ color: oklch(64.8% 0.193 309.1);
Tailwind
colors: {
custom: {
50: '#cb94ee',
500: '#b166e6',
950: '#000000',
},
}SCSS
$custom: #b166e6; $custom-light: #cb94ee; $custom-dark: #000000;
JSON
{
"hex": "#b166e6",
"rgb": {
"r": 177,
"g": 102,
"b": 230
},
"hsl": {
"h": 275.156,
"s": 71.91,
"l": 65.098
},
"oklch": {
"l": 0.64847,
"c": 0.19328,
"h": 309.1
},
"luminance": 0.24563
}Semantic roles & 50–950 ramp
primary
#B166E6
secondary
#D0EABE
accent
#D41262
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84