#B166EF#B166EF
#B166EF is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.4% C 0.203 H 306.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B166EF |
|---|---|
| RGB | rgb(177, 102, 239) |
| HSL | hsl(273, 81%, 67%) |
| HSV | hsv(273, 57%, 94%) |
| CMYK | cmyk(25.9%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(57.16, 54.50, -57.63) |
| CIE-LCH | lch(57.16, 79.32, 313.40°) |
| OKLab | oklab(65.38% 0.122 -0.1624) |
| OKLCH | oklch(65.38% 0.203 306.9) |
| XYZ | xyz(38.4596, 25.0823, 84.4599) |
| Luminance | 0.2508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.38
Bright Lavender
#C760FF
ΔE00 3.86
Lighter Purple
#A55AF4
ΔE00 3.86
Bright Lilac
#C95EFB
ΔE00 4.06
Easter Purple
#C071FE
ΔE00 4.14
Light Purple
#BF77F6
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166EF #A4EF66
analogous
#6D66EF #B166EF #EF66E8
triadic
#B166EF #EFB166 #66EFB1
tetradic
#B166EF #EF6D66 #A4EF66 #66E8EF
square
#B166EF #EF6D66 #A4EF66 #66E8EF
split-complementary
#B166EF #E8EF66 #66EF6D
monochromatic
#7615C6 #952FE9 #B166EF #CD9DF5 #E9D5FB
Accessibility & contrast
On white
3.49
#B166EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#B166EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166EF
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166EF | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3087F3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#A780A1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b166ef; /* rgb */ color: rgb(177, 102, 239); /* oklch */ color: oklch(65.4% 0.203 306.9);
Tailwind
colors: {
custom: {
50: '#cc95f5',
500: '#b166ef',
950: '#000000',
},
}SCSS
$custom: #b166ef; $custom-light: #cc95f5; $custom-dark: #000000;
JSON
{
"hex": "#b166ef",
"rgb": {
"r": 177,
"g": 102,
"b": 239
},
"hsl": {
"h": 272.847,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.65383,
"c": 0.20315,
"h": 306.9
},
"luminance": 0.25082
}Semantic roles & 50–950 ramp
primary
#B166EF
secondary
#D6EEC2
accent
#DD0869
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85