#B167DF#B167DF
#B167DF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.6% C 0.184 H 310.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B167DF |
|---|---|
| RGB | rgb(177, 103, 223) |
| HSL | hsl(277, 65%, 64%) |
| HSV | hsv(277, 54%, 87%) |
| CMYK | cmyk(20.6%, 53.8%, 0%, 12.5%) |
| CIE-LAB | lab(56.46, 50.42, -49.78) |
| CIE-LCH | lch(56.46, 70.86, 315.37°) |
| OKLab | oklab(64.59% 0.1201 -0.1395) |
| OKLCH | oklch(64.59% 0.184 310.7) |
| XYZ | xyz(36.2985, 24.3760, 72.5906) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.02
Mediumorchid
#BA55D3
ΔE00 4.64
Bright Lilac
#C95EFB
ΔE00 5.03
Bright Lavender
#C760FF
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 5.34
Easter Purple
#C071FE
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B167DF #95DF67
analogous
#7567DF #B167DF #DF67D1
triadic
#B167DF #DFB167 #67DFB1
tetradic
#B167DF #DF7567 #95DF67 #67D1DF
square
#B167DF #DF7567 #95DF67 #67D1DF
split-complementary
#B167DF #D1DF67 #67DF75
monochromatic
#7523A8 #9734D4 #B167DF #CB9AEA #E5CCF4
Accessibility & contrast
On white
3.57
#B167DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#B167DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B167DF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B167DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B167DF | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#5D89DC
Tritanopia (blue-blind)
#AB7C99
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #b167df; /* rgb */ color: rgb(177, 103, 223); /* oklch */ color: oklch(64.6% 0.184 310.7);
Tailwind
colors: {
custom: {
50: '#cb95e9',
500: '#b167df',
950: '#000000',
},
}SCSS
$custom: #b167df; $custom-light: #cb95e9; $custom-dark: #000000;
JSON
{
"hex": "#b167df",
"rgb": {
"r": 177,
"g": 103,
"b": 223
},
"hsl": {
"h": 277,
"s": 65.217,
"l": 63.922
},
"oklch": {
"l": 0.64588,
"c": 0.18408,
"h": 310.7
},
"luminance": 0.24375
}Semantic roles & 50–950 ramp
primary
#B167DF
secondary
#CCE6BC
accent
#CD185E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84