#8167C0#8167C0
#8167C0 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 57.9% C 0.134 H 295.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8167C0 |
|---|---|
| RGB | rgb(129, 103, 192) |
| HSL | hsl(258, 41%, 58%) |
| HSV | hsv(258, 46%, 75%) |
| CMYK | cmyk(32.8%, 46.4%, 0%, 24.7%) |
| CIE-LAB | lab(49.71, 30.23, -43.18) |
| CIE-LCH | lch(49.71, 52.71, 305.00°) |
| OKLab | oklab(57.87% 0.0576 -0.1215) |
| OKLCH | oklch(57.87% 0.134 295.3) |
| XYZ | xyz(23.4156, 18.1730, 52.1330) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.65
Deep Lilac
#966EBD
ΔE00 5.60
Mediumpurple
#9370DB
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 6.38
Light Indigo
#6D5ACF
ΔE00 6.46
Slate Blue
#6A5ACD
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8167C0 #A6C067
analogous
#6779C0 #8167C0 #AD67C0
triadic
#8167C0 #C08167 #67C081
tetradic
#8167C0 #C06779 #A6C067 #67C0AD
square
#8167C0 #C06779 #A6C067 #67C0AD
split-complementary
#8167C0 #C0AD67 #79C067
monochromatic
#47337A #6145A5 #8167C0 #A592D2 #C9BEE4
Accessibility & contrast
On white
4.53
#8167C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#8167C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8167C0
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8167C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8167C0 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#73788A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8167c0; /* rgb */ color: rgb(129, 103, 192); /* oklch */ color: oklch(57.9% 0.134 295.3);
Tailwind
colors: {
custom: {
50: '#a893d3',
500: '#8167c0',
950: '#000000',
},
}SCSS
$custom: #8167c0; $custom-light: #a893d3; $custom-dark: #000000;
JSON
{
"hex": "#8167c0",
"rgb": {
"r": 129,
"g": 103,
"b": 192
},
"hsl": {
"h": 257.528,
"s": 41.395,
"l": 57.843
},
"oklch": {
"l": 0.57866,
"c": 0.13443,
"h": 295.3
},
"luminance": 0.18173
}Semantic roles & 50–950 ramp
primary
#8167C0
secondary
#C9D3B0
accent
#D157AD
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83