#7E459E#7E459E
#7E459E is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.146 H 311.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7E459E |
|---|---|
| RGB | rgb(126, 69, 158) |
| HSL | hsl(278, 39%, 45%) |
| HSV | hsv(278, 56%, 62%) |
| CMYK | cmyk(20.3%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(39.85, 40.44, -38.87) |
| CIE-LCH | lch(39.85, 56.09, 316.14°) |
| OKLab | oklab(49.85% 0.0974 -0.1089) |
| OKLCH | oklch(49.85% 0.146 311.8) |
| XYZ | xyz(16.9028, 11.1609, 33.6050) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.24
Purply
#983FB2
ΔE00 5.44
Rebeccapurple
#663399
ΔE00 6.66
Medium Purple
#9E43A2
ΔE00 6.67
Light Eggplant
#894585
ΔE00 7.04
Warm Purple
#952E8F
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E459E #659E45
analogous
#52459E #7E459E #9E4592
triadic
#7E459E #9E7E45 #459E7E
tetradic
#7E459E #9E5245 #659E45 #45929E
square
#7E459E #9E5245 #659E45 #45929E
split-complementary
#7E459E #929E45 #459E52
monochromatic
#3A2049 #5C3273 #7E459E #9C65BC #B88FCE
Accessibility & contrast
On white
6.50
#7E459E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7E459E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E459E
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E459E | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#3F5F9C
Tritanopia (blue-blind)
#7A546B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7e459e; /* rgb */ color: rgb(126, 69, 158); /* oklch */ color: oklch(49.9% 0.146 311.8);
Tailwind
colors: {
custom: {
50: '#a67bbb',
500: '#7e459e',
950: '#000000',
},
}SCSS
$custom: #7e459e; $custom-light: #a67bbb; $custom-dark: #000000;
JSON
{
"hex": "#7e459e",
"rgb": {
"r": 126,
"g": 69,
"b": 158
},
"hsl": {
"h": 278.427,
"s": 39.207,
"l": 44.51
},
"oklch": {
"l": 0.49854,
"c": 0.1461,
"h": 311.8
},
"luminance": 0.1116
}Semantic roles & 50–950 ramp
primary
#7E459E
secondary
#98BA85
accent
#CF5983
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81