#7A3EC5#7A3EC5
#7A3EC5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.199 H 299.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3EC5 |
|---|---|
| RGB | rgb(122, 62, 197) |
| HSL | hsl(267, 54%, 51%) |
| HSV | hsv(267, 69%, 77%) |
| CMYK | cmyk(38.1%, 68.5%, 0%, 22.7%) |
| CIE-LAB | lab(40.60, 52.57, -60.74) |
| CIE-LCH | lch(40.60, 80.33, 310.88°) |
| OKLab | oklab(51.11% 0.0985 -0.1732) |
| OKLCH | oklch(51.11% 0.199 299.6) |
| XYZ | xyz(19.8242, 11.6138, 54.0098) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.24
Blueviolet
#8A2BE2
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 4.90
Burple
#6832E3
ΔE00 5.30
Darkorchid
#9932CC
ΔE00 5.43
Blurple
#5539CC
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3EC5 #89C53E
analogous
#3E45C5 #7A3EC5 #BE3EC5
triadic
#7A3EC5 #C57A3E #3EC57A
tetradic
#7A3EC5 #C53E45 #89C53E #3EC5BE
square
#7A3EC5 #C53E45 #89C53E #3EC5BE
split-complementary
#7A3EC5 #C5BE3E #45C53E
monochromatic
#402069 #5D2E98 #7A3EC5 #9A6DD3 #BB9CE1
Accessibility & contrast
On white
6.32
#7A3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7A3EC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3EC5
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3EC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3EC5 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#695E7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7a3ec5; /* rgb */ color: rgb(122, 62, 197); /* oklch */ color: oklch(51.1% 0.199 299.6);
Tailwind
colors: {
custom: {
50: '#a678d7',
500: '#7a3ec5',
950: '#000000',
},
}SCSS
$custom: #7a3ec5; $custom-light: #a678d7; $custom-dark: #000000;
JSON
{
"hex": "#7a3ec5",
"rgb": {
"r": 122,
"g": 62,
"b": 197
},
"hsl": {
"h": 266.667,
"s": 53.785,
"l": 50.784
},
"oklch": {
"l": 0.51106,
"c": 0.19923,
"h": 299.6
},
"luminance": 0.11614
}Semantic roles & 50–950 ramp
primary
#7A3EC5
secondary
#B3CD91
accent
#DD4B9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83