#B166F0#B166F0
#B166F0 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.4% C 0.204 H 306.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B166F0 |
|---|---|
| RGB | rgb(177, 102, 240) |
| HSL | hsl(273, 82%, 67%) |
| HSV | hsv(273, 58%, 94%) |
| CMYK | cmyk(26.3%, 57.5%, 0%, 5.9%) |
| CIE-LAB | lab(57.21, 54.72, -58.10) |
| CIE-LCH | lch(57.21, 79.81, 313.29°) |
| OKLab | oklab(65.44% 0.122 -0.1638) |
| OKLCH | oklch(65.44% 0.204 306.7) |
| XYZ | xyz(38.6077, 25.1415, 85.2401) |
| Luminance | 0.2514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.32
Bright Lavender
#C760FF
ΔE00 3.81
Lighter Purple
#A55AF4
ΔE00 3.82
Bright Lilac
#C95EFB
ΔE00 4.05
Easter Purple
#C071FE
ΔE00 4.08
Light Purple
#BF77F6
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166F0 #A5F066
analogous
#6C66F0 #B166F0 #F066EA
triadic
#B166F0 #F0B166 #66F0B1
tetradic
#B166F0 #F06C66 #A5F066 #66EAF0
square
#B166F0 #F06C66 #A5F066 #66EAF0
split-complementary
#B166F0 #EAF066 #66F06C
monochromatic
#7614C8 #952EEB #B166F0 #CD9EF5 #EAD5FB
Accessibility & contrast
On white
3.48
#B166F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#B166F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166F0
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166F0 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F87F4
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#A781A1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b166f0; /* rgb */ color: rgb(177, 102, 240); /* oklch */ color: oklch(65.4% 0.204 306.7);
Tailwind
colors: {
custom: {
50: '#cc95f6',
500: '#b166f0',
950: '#000000',
},
}SCSS
$custom: #b166f0; $custom-light: #cc95f6; $custom-dark: #000000;
JSON
{
"hex": "#b166f0",
"rgb": {
"r": 177,
"g": 102,
"b": 240
},
"hsl": {
"h": 272.609,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.65444,
"c": 0.20425,
"h": 306.7
},
"luminance": 0.25141
}Semantic roles & 50–950 ramp
primary
#B166F0
secondary
#D7EFC3
accent
#DF0769
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85