#7E46D2#7E46D2
#7E46D2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.204 H 297.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E46D2 |
|---|---|
| RGB | rgb(126, 70, 210) |
| HSL | hsl(264, 61%, 55%) |
| HSV | hsv(264, 67%, 82%) |
| CMYK | cmyk(40%, 66.7%, 0%, 17.6%) |
| CIE-LAB | lab(43.46, 52.66, -63.59) |
| CIE-LCH | lch(43.46, 82.56, 309.63°) |
| OKLab | oklab(53.56% 0.0939 -0.1814) |
| OKLCH | oklch(53.56% 0.204 297.4) |
| XYZ | xyz(22.4242, 13.4687, 62.3785) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.12
Blueviolet
#8A2BE2
ΔE00 4.56
Bluey Purple
#6241C7
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.29
Darkorchid
#9932CC
ΔE00 5.68
Burple
#6832E3
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E46D2 #9AD246
analogous
#4654D2 #7E46D2 #C446D2
triadic
#7E46D2 #D27E46 #46D27E
tetradic
#7E46D2 #D24654 #9AD246 #46D2C4
square
#7E46D2 #D24654 #9AD246 #46D2C4
split-complementary
#7E46D2 #D2C446 #54D246
monochromatic
#451F7F #602BB0 #7E46D2 #A077DE #C3A8EA
Accessibility & contrast
On white
5.69
#7E46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7E46D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E46D2
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E46D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E46D2 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#696786
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7e46d2; /* rgb */ color: rgb(126, 70, 210); /* oklch */ color: oklch(53.6% 0.204 297.4);
Tailwind
colors: {
custom: {
50: '#aa7de1',
500: '#7e46d2',
950: '#000000',
},
}SCSS
$custom: #7e46d2; $custom-light: #aa7de1; $custom-dark: #000000;
JSON
{
"hex": "#7e46d2",
"rgb": {
"r": 126,
"g": 70,
"b": 210
},
"hsl": {
"h": 264,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.53563,
"c": 0.20431,
"h": 297.4
},
"luminance": 0.13469
}Semantic roles & 50–950 ramp
primary
#7E46D2
secondary
#C0D79C
accent
#E444A4
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83