#B167F8#B167F8
#B167F8 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.212 H 304.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B167F8 |
|---|---|
| RGB | rgb(177, 103, 248) |
| HSL | hsl(271, 91%, 69%) |
| HSV | hsv(271, 58%, 97%) |
| CMYK | cmyk(28.6%, 58.5%, 0%, 2.7%) |
| CIE-LAB | lab(57.87, 56.04, -61.49) |
| CIE-LCH | lch(57.87, 83.19, 312.35°) |
| OKLab | oklab(66.07% 0.1208 -0.1737) |
| OKLCH | oklch(66.07% 0.212 304.8) |
| XYZ | xyz(39.9213, 25.8251, 91.6704) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.91
Easter Purple
#C071FE
ΔE00 3.66
Bright Lavender
#C760FF
ΔE00 3.68
Lighter Purple
#A55AF4
ΔE00 3.92
Bright Lilac
#C95EFB
ΔE00 4.13
Light Purple
#BF77F6
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B167F8 #AEF867
analogous
#6967F8 #B167F8 #F867F6
triadic
#B167F8 #F8B167 #67F8B1
tetradic
#B167F8 #F86967 #AEF867 #67F6F8
square
#B167F8 #F86967 #AEF867 #67F6F8
split-complementary
#B167F8 #F6F867 #67F869
monochromatic
#740ADB #932CF5 #B167F8 #CFA2FB #EDDCFD
Accessibility & contrast
On white
3.41
#B167F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B167F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B167F8
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B167F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B167F8 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2489FD
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#A584A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b167f8; /* rgb */ color: rgb(177, 103, 248); /* oklch */ color: oklch(66.1% 0.212 304.8);
Tailwind
colors: {
custom: {
50: '#cc95fb',
500: '#b167f8',
950: '#000000',
},
}SCSS
$custom: #b167f8; $custom-light: #cc95fb; $custom-dark: #000000;
JSON
{
"hex": "#b167f8",
"rgb": {
"r": 177,
"g": 103,
"b": 248
},
"hsl": {
"h": 270.621,
"s": 91.195,
"l": 68.824
},
"oklch": {
"l": 0.66074,
"c": 0.21161,
"h": 304.8
},
"luminance": 0.25825
}Semantic roles & 50–950 ramp
primary
#B167F8
secondary
#DDF3C8
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85