#7E49AA#7E49AA
#7E49AA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.154 H 307.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E49AA |
|---|---|
| RGB | rgb(126, 73, 170) |
| HSL | hsl(273, 40%, 48%) |
| HSV | hsv(273, 57%, 67%) |
| CMYK | cmyk(25.9%, 57.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.38, 41.08, -43.59) |
| CIE-LCH | lch(41.38, 59.90, 313.30°) |
| OKLab | oklab(51.2% 0.0925 -0.1227) |
| OKLCH | oklch(51.2% 0.154 307) |
| XYZ | xyz(18.2409, 12.1032, 39.3976) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.61
Purply
#983FB2
ΔE00 5.27
Deep Lavender
#8D5EB7
ΔE00 6.81
Darkorchid
#9932CC
ΔE00 7.16
Rebeccapurple
#663399
ΔE00 7.28
Medium Purple
#9E43A2
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E49AA #75AA49
analogous
#4E49AA #7E49AA #AA49A5
triadic
#7E49AA #AA7E49 #49AA7E
tetradic
#7E49AA #AA4E49 #75AA49 #49A5AA
square
#7E49AA #AA4E49 #75AA49 #49A5AA
split-complementary
#7E49AA #A5AA49 #49AA4E
monochromatic
#3F2454 #5E377F #7E49AA #9C6FC1 #B99AD4
Accessibility & contrast
On white
6.14
#7E49AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7E49AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E49AA
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E49AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E49AA | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#775B72
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7e49aa; /* rgb */ color: rgb(126, 73, 170); /* oklch */ color: oklch(51.2% 0.154 307.0);
Tailwind
colors: {
custom: {
50: '#a67ec4',
500: '#7e49aa',
950: '#000000',
},
}SCSS
$custom: #7e49aa; $custom-light: #a67ec4; $custom-dark: #000000;
JSON
{
"hex": "#7e49aa",
"rgb": {
"r": 126,
"g": 73,
"b": 170
},
"hsl": {
"h": 272.784,
"s": 39.918,
"l": 47.647
},
"oklch": {
"l": 0.51204,
"c": 0.15367,
"h": 307
},
"luminance": 0.12103
}Semantic roles & 50–950 ramp
primary
#7E49AA
secondary
#A5C08F
accent
#D0588E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82