#7A37BA#7A37BA
#7A37BA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.196 H 303.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7A37BA |
|---|---|
| RGB | rgb(122, 55, 186) |
| HSL | hsl(271, 54%, 47%) |
| HSV | hsv(271, 70%, 73%) |
| CMYK | cmyk(34.4%, 70.4%, 0%, 27.1%) |
| CIE-LAB | lab(38.58, 53.22, -57.58) |
| CIE-LCH | lch(38.58, 78.41, 312.75°) |
| OKLab | oklab(49.41% 0.1074 -0.1638) |
| OKLCH | oklch(49.41% 0.196 303.2) |
| XYZ | xyz(18.2531, 10.4151, 47.4936) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.34
Darkorchid
#9932CC
ΔE00 5.68
Blueviolet
#8A2BE2
ΔE00 5.68
Darkviolet
#9400D3
ΔE00 5.83
Rebeccapurple
#663399
ΔE00 5.86
Burple
#6832E3
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A37BA #77BA37
analogous
#3837BA #7A37BA #BA37B9
triadic
#7A37BA #BA7A37 #37BA7A
tetradic
#7A37BA #BA3837 #77BA37 #37B9BA
square
#7A37BA #BA3837 #77BA37 #37B9BA
split-complementary
#7A37BA #B9BA37 #37BA38
monochromatic
#3C1B5C #5B298B #7A37BA #985FD0 #B78EDE
Accessibility & contrast
On white
6.81
#7A37BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7A37BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A37BA
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A37BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A37BA | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6D5675
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7a37ba; /* rgb */ color: rgb(122, 55, 186); /* oklch */ color: oklch(49.4% 0.196 303.2);
Tailwind
colors: {
custom: {
50: '#a673d0',
500: '#7a37ba',
950: '#000000',
},
}SCSS
$custom: #7a37ba; $custom-light: #a673d0; $custom-dark: #000000;
JSON
{
"hex": "#7a37ba",
"rgb": {
"r": 122,
"g": 55,
"b": 186
},
"hsl": {
"h": 270.687,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.49409,
"c": 0.19591,
"h": 303.2
},
"luminance": 0.10415
}Semantic roles & 50–950 ramp
primary
#7A37BA
secondary
#A6C885
accent
#DE4A92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82