#B167EC#B167EC
#B167EC is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.3% C 0.198 H 307.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B167EC |
|---|---|
| RGB | rgb(177, 103, 236) |
| HSL | hsl(273, 78%, 66%) |
| HSV | hsv(273, 56%, 93%) |
| CMYK | cmyk(25%, 56.4%, 0%, 7.5%) |
| CIE-LAB | lab(57.18, 53.31, -55.93) |
| CIE-LCH | lch(57.18, 77.26, 313.63°) |
| OKLab | oklab(65.34% 0.1207 -0.1574) |
| OKLCH | oklch(65.34% 0.198 307.5) |
| XYZ | xyz(38.1189, 25.1042, 82.1781) |
| Luminance | 0.2510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.43
Bright Lavender
#C760FF
ΔE00 4.03
Easter Purple
#C071FE
ΔE00 4.17
Bright Lilac
#C95EFB
ΔE00 4.18
Lighter Purple
#A55AF4
ΔE00 4.19
Light Purple
#BF77F6
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B167EC #A2EC67
analogous
#6F67EC #B167EC #EC67E5
triadic
#B167EC #ECB167 #67ECB1
tetradic
#B167EC #EC6F67 #A2EC67 #67E5EC
square
#B167EC #EC6F67 #A2EC67 #67E5EC
split-complementary
#B167EC #E5EC67 #67EC6F
monochromatic
#7618C1 #9531E5 #B167EC #CD9DF3 #E9D4FA
Accessibility & contrast
On white
3.49
#B167EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#B167EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B167EC
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B167EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B167EC | 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)
#3786F0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#A880A0
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b167ec; /* rgb */ color: rgb(177, 103, 236); /* oklch */ color: oklch(65.3% 0.198 307.5);
Tailwind
colors: {
custom: {
50: '#cc95f3',
500: '#b167ec',
950: '#000000',
},
}SCSS
$custom: #b167ec; $custom-light: #cc95f3; $custom-dark: #000000;
JSON
{
"hex": "#b167ec",
"rgb": {
"r": 177,
"g": 103,
"b": 236
},
"hsl": {
"h": 273.383,
"s": 77.778,
"l": 66.471
},
"oklch": {
"l": 0.65344,
"c": 0.19839,
"h": 307.5
},
"luminance": 0.25104
}Semantic roles & 50–950 ramp
primary
#B167EC
secondary
#D5EDC2
accent
#DA0B67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85