#8371C3#8371C3
#8371C3 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.1% C 0.123 H 292.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8371C3 |
|---|---|
| RGB | rgb(131, 113, 195) |
| HSL | hsl(253, 41%, 60%) |
| HSV | hsv(253, 42%, 76%) |
| CMYK | cmyk(32.8%, 42.1%, 0%, 23.5%) |
| CIE-LAB | lab(52.48, 25.66, -40.50) |
| CIE-LCH | lch(52.48, 47.95, 302.36°) |
| OKLab | oklab(60.06% 0.0468 -0.1136) |
| OKLCH | oklch(60.06% 0.123 292.4) |
| XYZ | xyz(25.1130, 20.5752, 54.2675) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.87
Deep Lilac
#966EBD
ΔE00 5.31
Deep Lavender
#8D5EB7
ΔE00 7.24
Mediumslateblue
#7B68EE
ΔE00 7.73
Amethyst
#9B5FC0
ΔE00 8.17
Dark Periwinkle
#665FD1
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8371C3 #B1C371
analogous
#7188C3 #8371C3 #AC71C3
triadic
#8371C3 #C38371 #71C383
tetradic
#8371C3 #C37188 #B1C371 #71C3AC
square
#8371C3 #C37188 #B1C371 #71C3AC
split-complementary
#8371C3 #C3AC71 #88C371
monochromatic
#483782 #5F49AD #8371C3 #A99CD5 #CEC7E7
Accessibility & contrast
On white
4.11
#8371C3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8371C3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8371C3
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8371C3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8371C3 | 1.00 | 4.11 | 5.12 | 5.12 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587EC6
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#748091
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8371c3; /* rgb */ color: rgb(131, 113, 195); /* oklch */ color: oklch(60.1% 0.123 292.4);
Tailwind
colors: {
custom: {
50: '#a99ad5',
500: '#8371c3',
950: '#000000',
},
}SCSS
$custom: #8371c3; $custom-light: #a99ad5; $custom-dark: #000000;
JSON
{
"hex": "#8371c3",
"rgb": {
"r": 131,
"g": 113,
"b": 195
},
"hsl": {
"h": 253.171,
"s": 40.594,
"l": 60.392
},
"oklch": {
"l": 0.60055,
"c": 0.12289,
"h": 292.4
},
"luminance": 0.20576
}Semantic roles & 50–950 ramp
primary
#8371C3
secondary
#D1D8B8
accent
#B43297
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83