#8372CD#8372CD
#8372CD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 60.8% C 0.135 H 290.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8372CD |
|---|---|
| RGB | rgb(131, 114, 205) |
| HSL | hsl(251, 48%, 63%) |
| HSV | hsv(251, 44%, 80%) |
| CMYK | cmyk(36.1%, 44.4%, 0%, 19.6%) |
| CIE-LAB | lab(53.24, 27.76, -45.01) |
| CIE-LCH | lch(53.24, 52.88, 301.66°) |
| OKLab | oklab(60.8% 0.0471 -0.1268) |
| OKLCH | oklch(60.8% 0.135 290.4) |
| XYZ | xyz(26.3939, 21.2670, 60.4601) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.89
Mediumslateblue
#7B68EE
ΔE00 6.19
Deep Lilac
#966EBD
ΔE00 6.39
Dark Periwinkle
#665FD1
ΔE00 8.14
Deep Lavender
#8D5EB7
ΔE00 8.23
Periwinkle (survey)
#8E82FE
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8372CD #BCCD72
analogous
#728ECD #8372CD #B172CD
triadic
#8372CD #CD8372 #72CD83
tetradic
#8372CD #CD728E #BCCD72 #72CDB1
square
#8372CD #CD728E #BCCD72 #72CDB1
split-complementary
#8372CD #CDB172 #8ECD72
monochromatic
#453391 #5B45BD #8372CD #AB9FDD #D2CCED
Accessibility & contrast
On white
4.00
#8372CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#8372CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8372CD
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8372CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8372CD | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#708496
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8372cd; /* rgb */ color: rgb(131, 114, 205); /* oklch */ color: oklch(60.8% 0.135 290.4);
Tailwind
colors: {
custom: {
50: '#aa9add',
500: '#8372cd',
950: '#000000',
},
}SCSS
$custom: #8372cd; $custom-light: #aa9add; $custom-dark: #000000;
JSON
{
"hex": "#8372cd",
"rgb": {
"r": 131,
"g": 114,
"b": 205
},
"hsl": {
"h": 251.209,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.60797,
"c": 0.13522,
"h": 290.4
},
"luminance": 0.21268
}Semantic roles & 50–950 ramp
primary
#8372CD
secondary
#D8DEBD
accent
#BB2BA0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83