#7E3ABE#7E3ABE
#7E3ABE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.197 H 303.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3ABE |
|---|---|
| RGB | rgb(126, 58, 190) |
| HSL | hsl(271, 53%, 49%) |
| HSV | hsv(271, 69%, 75%) |
| CMYK | cmyk(33.7%, 69.5%, 0%, 25.5%) |
| CIE-LAB | lab(39.88, 53.57, -57.79) |
| CIE-LCH | lch(39.88, 78.80, 312.83°) |
| OKLab | oklab(50.54% 0.1092 -0.1643) |
| OKLCH | oklch(50.54% 0.197 303.6) |
| XYZ | xyz(19.4094, 11.1795, 49.8405) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.81
Blueviolet
#8A2BE2
ΔE00 5.06
Bluey Purple
#6241C7
ΔE00 5.47
Darkviolet
#9400D3
ΔE00 5.68
Bluish Purple
#703BE7
ΔE00 6.28
Purply
#983FB2
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3ABE #7ABE3A
analogous
#3C3ABE #7E3ABE #BE3ABC
triadic
#7E3ABE #BE7E3A #3ABE7E
tetradic
#7E3ABE #BE3C3A #7ABE3A #3ABCBE
square
#7E3ABE #BE3C3A #7ABE3A #3ABCBE
split-complementary
#7E3ABE #BCBE3A #3ABE3C
monochromatic
#401D60 #5F2C8F #7E3ABE #9C65D0 #BA94DE
Accessibility & contrast
On white
6.49
#7E3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#7E3ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3ABE
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3ABE | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#715978
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7e3abe; /* rgb */ color: rgb(126, 58, 190); /* oklch */ color: oklch(50.5% 0.197 303.6);
Tailwind
colors: {
custom: {
50: '#a875d2',
500: '#7e3abe',
950: '#000000',
},
}SCSS
$custom: #7e3abe; $custom-light: #a875d2; $custom-dark: #000000;
JSON
{
"hex": "#7e3abe",
"rgb": {
"r": 126,
"g": 58,
"b": 190
},
"hsl": {
"h": 270.909,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.50541,
"c": 0.19733,
"h": 303.6
},
"luminance": 0.11179
}Semantic roles & 50–950 ramp
primary
#7E3ABE
secondary
#A9CA8A
accent
#DD4B92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83