#B167E9#B167E9
#B167E9 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.2% C 0.195 H 308.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B167E9 |
|---|---|
| RGB | rgb(177, 103, 233) |
| HSL | hsl(274, 75%, 66%) |
| HSV | hsv(274, 56%, 91%) |
| CMYK | cmyk(24%, 55.8%, 0%, 8.6%) |
| CIE-LAB | lab(57.01, 52.64, -54.52) |
| CIE-LCH | lch(57.01, 75.78, 313.99°) |
| OKLab | oklab(65.17% 0.1206 -0.1533) |
| OKLCH | oklch(65.17% 0.195 308.2) |
| XYZ | xyz(37.6868, 24.9313, 79.9019) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.73
Bright Lavender
#C760FF
ΔE00 4.23
Bright Lilac
#C95EFB
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 4.38
Easter Purple
#C071FE
ΔE00 4.41
Light Purple
#BF77F6
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B167E9 #9FE967
analogous
#7067E9 #B167E9 #E967E0
triadic
#B167E9 #E9B167 #67E9B1
tetradic
#B167E9 #E97067 #9FE967 #67E0E9
square
#B167E9 #E97067 #9FE967 #67E0E9
split-complementary
#B167E9 #E0E967 #67E970
monochromatic
#761BBB #9632E1 #B167E9 #CC9CF1 #E8D2F8
Accessibility & contrast
On white
3.51
#B167E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#B167E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B167E9
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B167E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B167E9 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#568AE6
Tritanopia (blue-blind)
#A97F9E
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b167e9; /* rgb */ color: rgb(177, 103, 233); /* oklch */ color: oklch(65.2% 0.195 308.2);
Tailwind
colors: {
custom: {
50: '#cb95f1',
500: '#b167e9',
950: '#000000',
},
}SCSS
$custom: #b167e9; $custom-light: #cb95f1; $custom-dark: #000000;
JSON
{
"hex": "#b167e9",
"rgb": {
"r": 177,
"g": 103,
"b": 233
},
"hsl": {
"h": 274.154,
"s": 74.713,
"l": 65.882
},
"oklch": {
"l": 0.65166,
"c": 0.19509,
"h": 308.2
},
"luminance": 0.24931
}Semantic roles & 50–950 ramp
primary
#B167E9
secondary
#D3EBC0
accent
#D70F65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85