#B167E4#B167E4
#B167E4 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.190 H 309.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B167E4 |
|---|---|
| RGB | rgb(177, 103, 228) |
| HSL | hsl(276, 70%, 65%) |
| HSV | hsv(276, 55%, 89%) |
| CMYK | cmyk(22.4%, 54.8%, 0%, 10.6%) |
| CIE-LAB | lab(56.73, 51.52, -52.16) |
| CIE-LCH | lch(56.73, 73.32, 314.65°) |
| OKLab | oklab(64.87% 0.1204 -0.1464) |
| OKLCH | oklch(64.87% 0.19 309.4) |
| XYZ | xyz(36.9826, 24.6497, 76.1934) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.34
Bright Lilac
#C95EFB
ΔE00 4.61
Bright Lavender
#C760FF
ΔE00 4.66
Lighter Purple
#A55AF4
ΔE00 4.81
Easter Purple
#C071FE
ΔE00 4.87
Light Purple
#BF77F6
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B167E4 #9AE467
analogous
#7367E4 #B167E4 #E467D8
triadic
#B167E4 #E4B167 #67E4B1
tetradic
#B167E4 #E47367 #9AE467 #67D8E4
square
#B167E4 #E47367 #9AE467 #67D8E4
split-complementary
#B167E4 #D8E467 #67E473
monochromatic
#761FB1 #9633DB #B167E4 #CC9BED #E6CFF6
Accessibility & contrast
On white
3.54
#B167E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#B167E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B167E4
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B167E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B167E4 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#5A89E1
Tritanopia (blue-blind)
#AA7D9C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b167e4; /* rgb */ color: rgb(177, 103, 228); /* oklch */ color: oklch(64.9% 0.190 309.4);
Tailwind
colors: {
custom: {
50: '#cb95ed',
500: '#b167e4',
950: '#000000',
},
}SCSS
$custom: #b167e4; $custom-light: #cb95ed; $custom-dark: #000000;
JSON
{
"hex": "#b167e4",
"rgb": {
"r": 177,
"g": 103,
"b": 228
},
"hsl": {
"h": 275.52,
"s": 69.832,
"l": 64.902
},
"oklch": {
"l": 0.64874,
"c": 0.18958,
"h": 309.4
},
"luminance": 0.24649
}Semantic roles & 50–950 ramp
primary
#B167E4
secondary
#CFE9BE
accent
#D21461
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84