#7E49BB#7E49BB
#7E49BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.174 H 302.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E49BB |
|---|---|
| RGB | rgb(126, 73, 187) |
| HSL | hsl(268, 46%, 51%) |
| HSV | hsv(268, 61%, 73%) |
| CMYK | cmyk(32.6%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(42.44, 45.26, -51.90) |
| CIE-LCH | lch(42.44, 68.86, 311.09°) |
| OKLab | oklab(52.32% 0.0925 -0.1471) |
| OKLCH | oklch(52.32% 0.174 302.2) |
| XYZ | xyz(19.9543, 12.7885, 48.4213) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.90
Darkorchid
#9932CC
ΔE00 5.90
Purply
#983FB2
ΔE00 6.02
Bluey Purple
#6241C7
ΔE00 6.04
Blueviolet
#8A2BE2
ΔE00 6.88
Deep Lavender
#8D5EB7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E49BB #86BB49
analogous
#494DBB #7E49BB #B749BB
triadic
#7E49BB #BB7E49 #49BB7E
tetradic
#7E49BB #BB494D #86BB49 #49BBB7
square
#7E49BB #BB494D #86BB49 #49BBB7
split-complementary
#7E49BB #BBB749 #4DBB49
monochromatic
#432564 #603691 #7E49BB #9E76CC #BDA2DC
Accessibility & contrast
On white
5.90
#7E49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#7E49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E49BB
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E49BB | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2764B8
Tritanopia (blue-blind)
#72617B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7e49bb; /* rgb */ color: rgb(126, 73, 187); /* oklch */ color: oklch(52.3% 0.174 302.2);
Tailwind
colors: {
custom: {
50: '#a77ed0',
500: '#7e49bb',
950: '#000000',
},
}SCSS
$custom: #7e49bb; $custom-light: #a77ed0; $custom-dark: #000000;
JSON
{
"hex": "#7e49bb",
"rgb": {
"r": 126,
"g": 73,
"b": 187
},
"hsl": {
"h": 267.895,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.52322,
"c": 0.17373,
"h": 302.2
},
"luminance": 0.12789
}Semantic roles & 50–950 ramp
primary
#7E49BB
secondary
#B2C997
accent
#D55398
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82