#9E37D7#9E37D7
#9E37D7 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.0% C 0.234 H 310.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9E37D7 |
|---|---|
| RGB | rgb(158, 55, 215) |
| HSL | hsl(279, 67%, 53%) |
| HSV | hsv(279, 74%, 84%) |
| CMYK | cmyk(26.5%, 74.4%, 0%, 15.7%) |
| CIE-LAB | lab(45.51, 66.50, -62.95) |
| CIE-LCH | lch(45.51, 91.57, 316.57°) |
| OKLab | oklab(56% 0.1507 -0.1784) |
| OKLCH | oklch(56% 0.234 310.2) |
| XYZ | xyz(27.7301, 14.9084, 65.6936) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.15
Vibrant Purple
#AD03DE
ΔE00 3.58
Violet (survey)
#9A0EEA
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 4.65
Bright Violet
#AD0AFD
ΔE00 5.00
Electric Purple
#AA23FF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E37D7 #70D737
analogous
#4E37D7 #9E37D7 #D737C0
triadic
#9E37D7 #D79E37 #37D79E
tetradic
#9E37D7 #D74E37 #70D737 #37C0D7
square
#9E37D7 #D74E37 #70D737 #37C0D7
split-complementary
#9E37D7 #C0D737 #37D74E
monochromatic
#58197B #7C23AE #9E37D7 #B76AE1 #CF9DEB
Accessibility & contrast
On white
5.27
#9E37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#9E37D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E37D7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E37D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E37D7 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0C6DD4
Tritanopia (blue-blind)
#965D85
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9e37d7; /* rgb */ color: rgb(158, 55, 215); /* oklch */ color: oklch(56.0% 0.234 310.2);
Tailwind
colors: {
custom: {
50: '#c078e4',
500: '#9e37d7',
950: '#000000',
},
}SCSS
$custom: #9e37d7; $custom-light: #c078e4; $custom-dark: #000000;
JSON
{
"hex": "#9e37d7",
"rgb": {
"r": 158,
"g": 55,
"b": 215
},
"hsl": {
"h": 278.625,
"s": 66.667,
"l": 52.941
},
"oklch": {
"l": 0.56004,
"c": 0.23354,
"h": 310.2
},
"luminance": 0.14908
}Semantic roles & 50–950 ramp
primary
#9E37D7
secondary
#ABD792
accent
#EA3E7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84