#7E49BF#7E49BF
#7E49BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.178 H 301.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E49BF |
|---|---|
| RGB | rgb(126, 73, 191) |
| HSL | hsl(267, 48%, 52%) |
| HSV | hsv(267, 62%, 75%) |
| CMYK | cmyk(34%, 61.8%, 0%, 25.1%) |
| CIE-LAB | lab(42.71, 46.26, -53.81) |
| CIE-LCH | lch(42.71, 70.96, 310.69°) |
| OKLab | oklab(52.6% 0.0923 -0.1527) |
| OKLCH | oklch(52.6% 0.178 301.2) |
| XYZ | xyz(20.3885, 12.9622, 50.7079) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.40
Bluey Purple
#6241C7
ΔE00 5.74
Darkorchid
#9932CC
ΔE00 5.78
Purply
#983FB2
ΔE00 6.34
Blueviolet
#8A2BE2
ΔE00 6.45
Light Indigo
#6D5ACF
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E49BF #8ABF49
analogous
#494FBF #7E49BF #B949BF
triadic
#7E49BF #BF7E49 #49BF7E
tetradic
#7E49BF #BF494F #8ABF49 #49BFB9
square
#7E49BF #BF494F #8ABF49 #49BFB9
split-complementary
#7E49BF #BFB949 #4FBF49
monochromatic
#432569 #603596 #7E49BF #9E76CF #BEA4DF
Accessibility & contrast
On white
5.85
#7E49BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7E49BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E49BF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E49BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E49BF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#71627D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7e49bf; /* rgb */ color: rgb(126, 73, 191); /* oklch */ color: oklch(52.6% 0.178 301.2);
Tailwind
colors: {
custom: {
50: '#a87ed3',
500: '#7e49bf',
950: '#000000',
},
}SCSS
$custom: #7e49bf; $custom-light: #a87ed3; $custom-dark: #000000;
JSON
{
"hex": "#7e49bf",
"rgb": {
"r": 126,
"g": 73,
"b": 191
},
"hsl": {
"h": 266.949,
"s": 47.967,
"l": 51.765
},
"oklch": {
"l": 0.52597,
"c": 0.17843,
"h": 301.2
},
"luminance": 0.12962
}Semantic roles & 50–950 ramp
primary
#7E49BF
secondary
#B5CC98
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83