#7E49BA#7E49BA
#7E49BA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.173 H 302.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E49BA |
|---|---|
| RGB | rgb(126, 73, 186) |
| HSL | hsl(268, 45%, 51%) |
| HSV | hsv(268, 61%, 73%) |
| CMYK | cmyk(32.3%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(42.38, 45.01, -51.41) |
| CIE-LCH | lch(42.38, 68.33, 311.20°) |
| OKLab | oklab(52.25% 0.0925 -0.1457) |
| OKLCH | oklch(52.25% 0.173 302.4) |
| XYZ | xyz(19.8476, 12.7459, 47.8594) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.77
Purply
#983FB2
ΔE00 5.94
Darkorchid
#9932CC
ΔE00 5.95
Bluey Purple
#6241C7
ΔE00 6.13
Deep Lavender
#8D5EB7
ΔE00 6.93
Blueviolet
#8A2BE2
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E49BA #85BA49
analogous
#494CBA #7E49BA #B749BA
triadic
#7E49BA #BA7E49 #49BA7E
tetradic
#7E49BA #BA494C #85BA49 #49BAB7
square
#7E49BA #BA494C #85BA49 #49BAB7
split-complementary
#7E49BA #BAB749 #4CBA49
monochromatic
#422663 #60368F #7E49BA #9D75CB #BDA2DC
Accessibility & contrast
On white
5.92
#7E49BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7E49BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E49BA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E49BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E49BA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0463BE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#72607A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7e49ba; /* rgb */ color: rgb(126, 73, 186); /* oklch */ color: oklch(52.3% 0.173 302.4);
Tailwind
colors: {
custom: {
50: '#a77ecf',
500: '#7e49ba',
950: '#000000',
},
}SCSS
$custom: #7e49ba; $custom-light: #a77ecf; $custom-dark: #000000;
JSON
{
"hex": "#7e49ba",
"rgb": {
"r": 126,
"g": 73,
"b": 186
},
"hsl": {
"h": 268.142,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.52254,
"c": 0.17256,
"h": 302.4
},
"luminance": 0.12746
}Semantic roles & 50–950 ramp
primary
#7E49BA
secondary
#B1C896
accent
#D55398
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82