#7A36C6#7A36C6
#7A36C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.210 H 300.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7A36C6 |
|---|---|
| RGB | rgb(122, 54, 198) |
| HSL | hsl(268, 57%, 49%) |
| HSV | hsv(268, 73%, 78%) |
| CMYK | cmyk(38.4%, 72.7%, 0%, 22.4%) |
| CIE-LAB | lab(39.33, 56.58, -63.38) |
| CIE-LCH | lch(39.33, 84.96, 311.75°) |
| OKLab | oklab(50.23% 0.1062 -0.1809) |
| OKLCH | oklch(50.23% 0.21 300.4) |
| XYZ | xyz(19.5357, 10.8530, 54.4807) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.22
Bluey Purple
#6241C7
ΔE00 4.60
Burple
#6832E3
ΔE00 4.80
Bluish Purple
#703BE7
ΔE00 5.00
Darkviolet
#9400D3
ΔE00 5.29
Darkorchid
#9932CC
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A36C6 #82C636
analogous
#363AC6 #7A36C6 #C236C6
triadic
#7A36C6 #C67A36 #36C67A
tetradic
#7A36C6 #C6363A #82C636 #36C6C2
square
#7A36C6 #C6363A #82C636 #36C6C2
split-complementary
#7A36C6 #C6C236 #3AC636
monochromatic
#3F1C66 #5C2996 #7A36C6 #9964D5 #B994E2
Accessibility & contrast
On white
6.62
#7A36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7A36C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A36C6
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A36C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A36C6 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#695A7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7a36c6; /* rgb */ color: rgb(122, 54, 198); /* oklch */ color: oklch(50.2% 0.210 300.4);
Tailwind
colors: {
custom: {
50: '#a773d8',
500: '#7a36c6',
950: '#000000',
},
}SCSS
$custom: #7a36c6; $custom-light: #a773d8; $custom-dark: #000000;
JSON
{
"hex": "#7a36c6",
"rgb": {
"r": 122,
"g": 54,
"b": 198
},
"hsl": {
"h": 268.333,
"s": 57.143,
"l": 49.412
},
"oklch": {
"l": 0.50231,
"c": 0.20976,
"h": 300.4
},
"luminance": 0.10853
}Semantic roles & 50–950 ramp
primary
#7A36C6
secondary
#AECD8B
accent
#E04798
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83