#7A37C6#7A37C6
#7A37C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.209 H 300.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7A37C6 |
|---|---|
| RGB | rgb(122, 55, 198) |
| HSL | hsl(268, 57%, 50%) |
| HSV | hsv(268, 72%, 78%) |
| CMYK | cmyk(38.4%, 72.2%, 0%, 22.4%) |
| CIE-LAB | lab(39.49, 56.13, -63.12) |
| CIE-LCH | lch(39.49, 84.46, 311.64°) |
| OKLab | oklab(50.34% 0.1053 -0.1801) |
| OKLCH | oklch(50.34% 0.209 300.3) |
| XYZ | xyz(19.5827, 10.9470, 54.4964) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 4.53
Burple
#6832E3
ΔE00 4.82
Bluish Purple
#703BE7
ΔE00 4.95
Darkviolet
#9400D3
ΔE00 5.40
Darkorchid
#9932CC
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A37C6 #83C637
analogous
#373BC6 #7A37C6 #C237C6
triadic
#7A37C6 #C67A37 #37C67A
tetradic
#7A37C6 #C6373B #83C637 #37C6C2
square
#7A37C6 #C6373B #83C637 #37C6C2
split-complementary
#7A37C6 #C6C237 #3BC637
monochromatic
#3F1C66 #5C2A96 #7A37C6 #9A66D4 #B996E2
Accessibility & contrast
On white
6.58
#7A37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#7A37C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A37C6
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A37C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A37C6 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#695B7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7a37c6; /* rgb */ color: rgb(122, 55, 198); /* oklch */ color: oklch(50.3% 0.209 300.3);
Tailwind
colors: {
custom: {
50: '#a774d8',
500: '#7a37c6',
950: '#000000',
},
}SCSS
$custom: #7a37c6; $custom-light: #a774d8; $custom-dark: #000000;
JSON
{
"hex": "#7a37c6",
"rgb": {
"r": 122,
"g": 55,
"b": 198
},
"hsl": {
"h": 268.112,
"s": 56.522,
"l": 49.608
},
"oklch": {
"l": 0.50344,
"c": 0.20863,
"h": 300.3
},
"luminance": 0.10947
}Semantic roles & 50–950 ramp
primary
#7A37C6
secondary
#AECD8C
accent
#E04899
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83