#7E3AC2#7E3AC2
#7E3AC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.202 H 302.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3AC2 |
|---|---|
| RGB | rgb(126, 58, 194) |
| HSL | hsl(270, 54%, 49%) |
| HSV | hsv(270, 70%, 76%) |
| CMYK | cmyk(35.1%, 70.1%, 0%, 23.9%) |
| CIE-LAB | lab(40.17, 54.53, -59.65) |
| CIE-LCH | lch(40.17, 80.82, 312.43°) |
| OKLab | oklab(50.84% 0.1086 -0.1698) |
| OKLCH | oklch(50.84% 0.202 302.6) |
| XYZ | xyz(19.8525, 11.3567, 52.1747) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.55
Darkorchid
#9932CC
ΔE00 4.71
Bluey Purple
#6241C7
ΔE00 5.21
Darkviolet
#9400D3
ΔE00 5.53
Bluish Purple
#703BE7
ΔE00 5.70
Burple
#6832E3
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3AC2 #7EC23A
analogous
#3A3AC2 #7E3AC2 #C23AC2
triadic
#7E3AC2 #C27E3A #3AC27E
tetradic
#7E3AC2 #C23A3A #7EC23A #3AC2C2
square
#7E3AC2 #C23A3A #7EC23A #3AC2C2
split-complementary
#7E3AC2 #C2C23A #3AC23A
monochromatic
#411E64 #5F2C93 #7E3AC2 #9D67D2 #BB97E0
Accessibility & contrast
On white
6.42
#7E3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#7E3AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3AC2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3AC2 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#705A7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7e3ac2; /* rgb */ color: rgb(126, 58, 194); /* oklch */ color: oklch(50.8% 0.202 302.6);
Tailwind
colors: {
custom: {
50: '#a976d5',
500: '#7e3ac2',
950: '#000000',
},
}SCSS
$custom: #7e3ac2; $custom-light: #a976d5; $custom-dark: #000000;
JSON
{
"hex": "#7e3ac2",
"rgb": {
"r": 126,
"g": 58,
"b": 194
},
"hsl": {
"h": 270,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.50843,
"c": 0.20158,
"h": 302.6
},
"luminance": 0.11357
}Semantic roles & 50–950 ramp
primary
#7E3AC2
secondary
#ACCB8D
accent
#DD4A94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83