#9371C7#9371C7
#9371C7 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.8% C 0.130 H 300.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9371C7 |
|---|---|
| RGB | rgb(147, 113, 199) |
| HSL | hsl(264, 43%, 61%) |
| HSV | hsv(264, 43%, 78%) |
| CMYK | cmyk(26.1%, 43.2%, 0%, 22%) |
| CIE-LAB | lab(54.17, 31.19, -40.02) |
| CIE-LCH | lch(54.17, 50.74, 307.93°) |
| OKLab | oklab(61.75% 0.0669 -0.1119) |
| OKLCH | oklch(61.75% 0.13 300.9) |
| XYZ | xyz(28.2442, 22.1367, 56.8066) |
| Luminance | 0.2214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.48
Mediumpurple
#9370DB
ΔE00 3.67
Amethyst
#9B5FC0
ΔE00 5.85
Deep Lavender
#8D5EB7
ΔE00 6.36
Wisteria
#A87DC2
ΔE00 6.57
Soft Purple
#A66FB5
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9371C7 #A5C771
analogous
#717AC7 #9371C7 #BE71C7
triadic
#9371C7 #C79371 #71C793
tetradic
#9371C7 #C7717A #A5C771 #71C7BE
square
#9371C7 #C7717A #A5C771 #71C7BE
split-complementary
#9371C7 #C7BE71 #7AC771
monochromatic
#563688 #7247B4 #9371C7 #B49DD8 #D6C9EA
Accessibility & contrast
On white
3.87
#9371C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#9371C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9371C7
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9371C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9371C7 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#898092
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9371c7; /* rgb */ color: rgb(147, 113, 199); /* oklch */ color: oklch(61.8% 0.130 300.9);
Tailwind
colors: {
custom: {
50: '#b49ad8',
500: '#9371c7',
950: '#000000',
},
}SCSS
$custom: #9371c7; $custom-light: #b49ad8; $custom-dark: #000000;
JSON
{
"hex": "#9371c7",
"rgb": {
"r": 147,
"g": 113,
"b": 199
},
"hsl": {
"h": 263.721,
"s": 43.434,
"l": 61.176
},
"oklch": {
"l": 0.61752,
"c": 0.13035,
"h": 300.9
},
"luminance": 0.22137
}Semantic roles & 50–950 ramp
primary
#9371C7
secondary
#CDDABA
accent
#B72F81
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83