#7E46D9#7E46D9
#7E46D9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.212 H 296.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E46D9 |
|---|---|
| RGB | rgb(126, 70, 217) |
| HSL | hsl(263, 66%, 56%) |
| HSV | hsv(263, 68%, 85%) |
| CMYK | cmyk(41.9%, 67.7%, 0%, 14.9%) |
| CIE-LAB | lab(43.98, 54.46, -66.76) |
| CIE-LCH | lch(43.98, 86.15, 309.21°) |
| OKLab | oklab(54.1% 0.0929 -0.1908) |
| OKLCH | oklch(54.1% 0.212 296) |
| XYZ | xyz(23.3154, 13.8252, 67.0723) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.59
Blueviolet
#8A2BE2
ΔE00 4.41
Purpley
#8756E4
ΔE00 4.77
Purpleish Blue
#6140EF
ΔE00 5.17
Bluey Purple
#6241C7
ΔE00 5.45
Burple
#6832E3
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E46D9 #A1D946
analogous
#4658D9 #7E46D9 #C846D9
triadic
#7E46D9 #D97E46 #46D97E
tetradic
#7E46D9 #D94658 #A1D946 #46D9C8
square
#7E46D9 #D94658 #A1D946 #46D9C8
split-complementary
#7E46D9 #D9C846 #58D946
monochromatic
#451C89 #5F26BB #7E46D9 #A179E3 #C5ACEE
Accessibility & contrast
On white
5.58
#7E46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7E46D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E46D9
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E46D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E46D9 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#666A8A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e46d9; /* rgb */ color: rgb(126, 70, 217); /* oklch */ color: oklch(54.1% 0.212 296.0);
Tailwind
colors: {
custom: {
50: '#aa7de6',
500: '#7e46d9',
950: '#000000',
},
}SCSS
$custom: #7e46d9; $custom-light: #aa7de6; $custom-dark: #000000;
JSON
{
"hex": "#7e46d9",
"rgb": {
"r": 126,
"g": 70,
"b": 217
},
"hsl": {
"h": 262.857,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.54099,
"c": 0.21219,
"h": 296
},
"luminance": 0.13826
}Semantic roles & 50–950 ramp
primary
#7E46D9
secondary
#C5DC9F
accent
#E93FA8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84