#7E46E1#7E46E1
#7E46E1 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.221 H 294.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7E46E1 |
|---|---|
| RGB | rgb(126, 70, 225) |
| HSL | hsl(262, 72%, 58%) |
| HSV | hsv(262, 69%, 88%) |
| CMYK | cmyk(44%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(44.59, 56.52, -70.33) |
| CIE-LCH | lch(44.59, 90.23, 308.79°) |
| OKLab | oklab(54.73% 0.0916 -0.2013) |
| OKLCH | oklch(54.73% 0.221 294.5) |
| XYZ | xyz(24.3813, 14.2515, 72.6858) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.30
Purpley
#8756E4
ΔE00 4.36
Blueviolet
#8A2BE2
ΔE00 4.50
Purpleish Blue
#6140EF
ΔE00 4.68
Burple
#6832E3
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E46E1 #A9E146
analogous
#465CE1 #7E46E1 #CB46E1
triadic
#7E46E1 #E17E46 #46E17E
tetradic
#7E46E1 #E1465C #A9E146 #46E1CB
square
#7E46E1 #E1465C #A9E146 #46E1CB
split-complementary
#7E46E1 #E1CB46 #5CE146
monochromatic
#451895 #5E21C9 #7E46E1 #A37BEA #C7AFF2
Accessibility & contrast
On white
5.45
#7E46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7E46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E46E1
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E46E1 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#626D8E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7e46e1; /* rgb */ color: rgb(126, 70, 225); /* oklch */ color: oklch(54.7% 0.221 294.5);
Tailwind
colors: {
custom: {
50: '#ab7eeb',
500: '#7e46e1',
950: '#000000',
},
}SCSS
$custom: #7e46e1; $custom-light: #ab7eeb; $custom-dark: #000000;
JSON
{
"hex": "#7e46e1",
"rgb": {
"r": 126,
"g": 70,
"b": 225
},
"hsl": {
"h": 261.677,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.54725,
"c": 0.22113,
"h": 294.5
},
"luminance": 0.14252
}Semantic roles & 50–950 ramp
primary
#7E46E1
secondary
#CAE0A2
accent
#EF39AD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84