#7A3EC4#7A3EC4
#7A3EC4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.198 H 299.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3EC4 |
|---|---|
| RGB | rgb(122, 62, 196) |
| HSL | hsl(267, 53%, 51%) |
| HSV | hsv(267, 68%, 77%) |
| CMYK | cmyk(37.8%, 68.4%, 0%, 23.1%) |
| CIE-LAB | lab(40.52, 52.32, -60.28) |
| CIE-LCH | lch(40.52, 79.82, 310.96°) |
| OKLab | oklab(51.03% 0.0987 -0.1718) |
| OKLCH | oklch(51.03% 0.198 299.9) |
| XYZ | xyz(19.7100, 11.5682, 53.4083) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 4.76
Bluish Purple
#703BE7
ΔE00 5.05
Burple
#6832E3
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.44
Blurple
#5539CC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3EC4 #88C43E
analogous
#3E45C4 #7A3EC4 #BD3EC4
triadic
#7A3EC4 #C47A3E #3EC47A
tetradic
#7A3EC4 #C43E45 #88C43E #3EC4BD
square
#7A3EC4 #C43E45 #88C43E #3EC4BD
split-complementary
#7A3EC4 #C4BD3E #45C43E
monochromatic
#402068 #5D2E97 #7A3EC4 #9A6DD2 #BB9CE1
Accessibility & contrast
On white
6.34
#7A3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#7A3EC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3EC4
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3EC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3EC4 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#695E7C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7a3ec4; /* rgb */ color: rgb(122, 62, 196); /* oklch */ color: oklch(51.0% 0.198 299.9);
Tailwind
colors: {
custom: {
50: '#a678d7',
500: '#7a3ec4',
950: '#000000',
},
}SCSS
$custom: #7a3ec4; $custom-light: #a678d7; $custom-dark: #000000;
JSON
{
"hex": "#7a3ec4",
"rgb": {
"r": 122,
"g": 62,
"b": 196
},
"hsl": {
"h": 266.866,
"s": 53.175,
"l": 50.588
},
"oklch": {
"l": 0.51029,
"c": 0.19813,
"h": 299.9
},
"luminance": 0.11568
}Semantic roles & 50–950 ramp
primary
#7A3EC4
secondary
#B2CD91
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83