#7E37BA#7E37BA
#7E37BA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.197 H 305.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E37BA |
|---|---|
| RGB | rgb(126, 55, 186) |
| HSL | hsl(273, 54%, 47%) |
| HSV | hsv(273, 70%, 73%) |
| CMYK | cmyk(32.3%, 70.4%, 0%, 27.1%) |
| CIE-LAB | lab(39.09, 54.01, -56.72) |
| CIE-LCH | lch(39.09, 78.32, 313.60°) |
| OKLab | oklab(49.89% 0.1129 -0.1612) |
| OKLCH | oklch(49.89% 0.197 305) |
| XYZ | xyz(18.8313, 10.7133, 47.5207) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.03
Darkviolet
#9400D3
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 5.95
Rebeccapurple
#663399
ΔE00 6.23
Purply
#983FB2
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E37BA #73BA37
analogous
#3C37BA #7E37BA #BA37B5
triadic
#7E37BA #BA7E37 #37BA7E
tetradic
#7E37BA #BA3C37 #73BA37 #37B5BA
square
#7E37BA #BA3C37 #73BA37 #37B5BA
split-complementary
#7E37BA #B5BA37 #37BA3C
monochromatic
#3E1B5C #5E298B #7E37BA #9C5FD0 #B98EDE
Accessibility & contrast
On white
6.68
#7E37BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7E37BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E37BA
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E37BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E37BA | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#735575
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7e37ba; /* rgb */ color: rgb(126, 55, 186); /* oklch */ color: oklch(49.9% 0.197 305.0);
Tailwind
colors: {
custom: {
50: '#a874d0',
500: '#7e37ba',
950: '#000000',
},
}SCSS
$custom: #7e37ba; $custom-light: #a874d0; $custom-dark: #000000;
JSON
{
"hex": "#7e37ba",
"rgb": {
"r": 126,
"g": 55,
"b": 186
},
"hsl": {
"h": 272.519,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.49888,
"c": 0.1968,
"h": 305
},
"luminance": 0.10713
}Semantic roles & 50–950 ramp
primary
#7E37BA
secondary
#A4C885
accent
#DE4A8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82