#7E46F2#7E46F2
#7E46F2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.240 H 291.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E46F2 |
|---|---|
| RGB | rgb(126, 70, 242) |
| HSL | hsl(260, 87%, 61%) |
| HSV | hsv(260, 71%, 95%) |
| CMYK | cmyk(47.9%, 71.1%, 0%, 5.1%) |
| CIE-LAB | lab(45.94, 60.95, -77.73) |
| CIE-LCH | lch(45.94, 98.77, 308.10°) |
| OKLab | oklab(56.1% 0.0884 -0.223) |
| OKLCH | oklch(56.1% 0.24 291.6) |
| XYZ | xyz(26.8168, 15.2258, 85.5131) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.90
Purpley
#8756E4
ΔE00 4.19
Purpleish Blue
#6140EF
ΔE00 4.55
Blueviolet
#8A2BE2
ΔE00 5.43
Burple
#6832E3
ΔE00 6.19
Violet
#8F00FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E46F2 #BAF246
analogous
#4664F2 #7E46F2 #D446F2
triadic
#7E46F2 #F27E46 #46F27E
tetradic
#7E46F2 #F24664 #BAF246 #46F2D4
square
#7E46F2 #F24664 #BAF246 #46F2D4
split-complementary
#7E46F2 #F2D446 #64F246
monochromatic
#420CB1 #5710EA #7E46F2 #A67FF6 #CEB8FA
Accessibility & contrast
On white
5.19
#7E46F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#7E46F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E46F2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E46F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E46F2 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FF7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#587398
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e46f2; /* rgb */ color: rgb(126, 70, 242); /* oklch */ color: oklch(56.1% 0.240 291.6);
Tailwind
colors: {
custom: {
50: '#ad7ef8',
500: '#7e46f2',
950: '#000000',
},
}SCSS
$custom: #7e46f2; $custom-light: #ad7ef8; $custom-dark: #000000;
JSON
{
"hex": "#7e46f2",
"rgb": {
"r": 126,
"g": 70,
"b": 242
},
"hsl": {
"h": 259.535,
"s": 86.869,
"l": 61.176
},
"oklch": {
"l": 0.56103,
"c": 0.23989,
"h": 291.6
},
"luminance": 0.15227
}Semantic roles & 50–950 ramp
primary
#7E46F2
secondary
#D5EAAA
accent
#E3029A
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85