#B167F2#B167F2
#B167F2 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.7% C 0.205 H 306.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B167F2 |
|---|---|
| RGB | rgb(177, 103, 242) |
| HSL | hsl(272, 84%, 68%) |
| HSV | hsv(272, 57%, 95%) |
| CMYK | cmyk(26.9%, 57.4%, 0%, 5.1%) |
| CIE-LAB | lab(57.52, 54.67, -58.72) |
| CIE-LCH | lch(57.52, 80.23, 312.95°) |
| OKLab | oklab(65.71% 0.1208 -0.1656) |
| OKLCH | oklch(65.71% 0.205 306.1) |
| XYZ | xyz(39.0053, 25.4587, 86.8464) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.00
Bright Lavender
#C760FF
ΔE00 3.76
Easter Purple
#C071FE
ΔE00 3.83
Lighter Purple
#A55AF4
ΔE00 3.95
Bright Lilac
#C95EFB
ΔE00 4.07
Light Purple
#BF77F6
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B167F2 #A8F267
analogous
#6B67F2 #B167F2 #F267EE
triadic
#B167F2 #F2B167 #67F2B1
tetradic
#B167F2 #F26B67 #A8F267 #67EEF2
square
#B167F2 #F26B67 #A8F267 #67EEF2
split-complementary
#B167F2 #EEF267 #67F26B
monochromatic
#7512CD #942FED #B167F2 #CE9FF7 #EBD8FC
Accessibility & contrast
On white
3.45
#B167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#B167F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B167F2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B167F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B167F2 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#A682A3
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b167f2; /* rgb */ color: rgb(177, 103, 242); /* oklch */ color: oklch(65.7% 0.205 306.1);
Tailwind
colors: {
custom: {
50: '#cc95f7',
500: '#b167f2',
950: '#000000',
},
}SCSS
$custom: #b167f2; $custom-light: #cc95f7; $custom-dark: #000000;
JSON
{
"hex": "#b167f2",
"rgb": {
"r": 177,
"g": 103,
"b": 242
},
"hsl": {
"h": 271.942,
"s": 84.242,
"l": 67.647
},
"oklch": {
"l": 0.65705,
"c": 0.20501,
"h": 306.1
},
"luminance": 0.25458
}Semantic roles & 50–950 ramp
primary
#B167F2
secondary
#D9F0C5
accent
#E1056C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85