#B166F5#B166F5
#B166F5 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.210 H 305.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B166F5 |
|---|---|
| RGB | rgb(177, 102, 245) |
| HSL | hsl(271, 88%, 68%) |
| HSV | hsv(271, 58%, 96%) |
| CMYK | cmyk(27.8%, 58.4%, 0%, 3.9%) |
| CIE-LAB | lab(57.50, 55.86, -60.41) |
| CIE-LCH | lch(57.50, 82.28, 312.76°) |
| OKLab | oklab(65.75% 0.122 -0.1706) |
| OKLCH | oklch(65.75% 0.21 305.6) |
| XYZ | xyz(39.3607, 25.4427, 89.2059) |
| Luminance | 0.2544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.13
Bright Lavender
#C760FF
ΔE00 3.67
Lighter Purple
#A55AF4
ΔE00 3.72
Easter Purple
#C071FE
ΔE00 3.88
Bright Lilac
#C95EFB
ΔE00 4.04
Light Purple
#BF77F6
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166F5 #AAF566
analogous
#6A66F5 #B166F5 #F566F1
triadic
#B166F5 #F5B166 #66F5B1
tetradic
#B166F5 #F56A66 #AAF566 #66F1F5
square
#B166F5 #F56A66 #AAF566 #66F1F5
split-complementary
#B166F5 #F1F566 #66F56A
monochromatic
#750ED3 #942DF1 #B166F5 #CE9FF9 #ECD9FD
Accessibility & contrast
On white
3.45
#B166F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#B166F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166F5
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166F5 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#4A8AF2
Tritanopia (blue-blind)
#A582A4
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b166f5; /* rgb */ color: rgb(177, 102, 245); /* oklch */ color: oklch(65.8% 0.210 305.6);
Tailwind
colors: {
custom: {
50: '#cc95f9',
500: '#b166f5',
950: '#000000',
},
}SCSS
$custom: #b166f5; $custom-light: #cc95f9; $custom-dark: #000000;
JSON
{
"hex": "#b166f5",
"rgb": {
"r": 177,
"g": 102,
"b": 245
},
"hsl": {
"h": 271.469,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.6575,
"c": 0.20973,
"h": 305.6
},
"luminance": 0.25442
}Semantic roles & 50–950 ramp
primary
#B166F5
secondary
#DAF1C6
accent
#E4016D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85