#8372BC#8372BC
#8372BC is a mid, moderate violet. Relative luminance 0.205; OKLCH L 59.9% C 0.111 H 293.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8372BC |
|---|---|
| RGB | rgb(131, 114, 188) |
| HSL | hsl(254, 36%, 59%) |
| HSV | hsv(254, 39%, 74%) |
| CMYK | cmyk(30.3%, 39.4%, 0%, 26.3%) |
| CIE-LAB | lab(52.39, 23.23, -36.63) |
| CIE-LCH | lch(52.39, 43.38, 302.38°) |
| OKLab | oklab(59.87% 0.0441 -0.1024) |
| OKLCH | oklch(59.87% 0.111 293.3) |
| XYZ | xyz(24.4522, 20.4904, 50.2340) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 5.02
Mediumpurple
#9370DB
ΔE00 6.02
Deep Lavender
#8D5EB7
ΔE00 7.34
Amethyst
#9B5FC0
ΔE00 8.40
Dark Lavender
#856798
ΔE00 8.87
Wisteria
#A87DC2
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8372BC #ABBC72
analogous
#7286BC #8372BC #A872BC
triadic
#8372BC #BC8372 #72BC83
tetradic
#8372BC #BC7286 #ABBC72 #72BCA8
square
#8372BC #BC7286 #ABBC72 #72BCA8
split-complementary
#8372BC #BCA872 #86BC72
monochromatic
#493A7A #614EA3 #8372BC #A79BD0 #CCC5E3
Accessibility & contrast
On white
4.12
#8372BC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8372BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8372BC
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8372BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8372BC | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#767F8E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8372bc; /* rgb */ color: rgb(131, 114, 188); /* oklch */ color: oklch(59.9% 0.111 293.3);
Tailwind
colors: {
custom: {
50: '#a99ad0',
500: '#8372bc',
950: '#000000',
},
}SCSS
$custom: #8372bc; $custom-light: #a99ad0; $custom-dark: #000000;
JSON
{
"hex": "#8372bc",
"rgb": {
"r": 131,
"g": 114,
"b": 188
},
"hsl": {
"h": 253.784,
"s": 35.577,
"l": 59.216
},
"oklch": {
"l": 0.59871,
"c": 0.11149,
"h": 293.3
},
"luminance": 0.20491
}Semantic roles & 50–950 ramp
primary
#8372BC
secondary
#CDD3B6
accent
#CC5CB2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82