#7E3ADC#7E3ADC
#7E3ADC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.229 H 296.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3ADC |
|---|---|
| RGB | rgb(126, 58, 220) |
| HSL | hsl(265, 70%, 55%) |
| HSV | hsv(265, 74%, 86%) |
| CMYK | cmyk(42.7%, 73.6%, 0%, 13.7%) |
| CIE-LAB | lab(42.20, 60.87, -71.38) |
| CIE-LCH | lch(42.20, 93.81, 310.46°) |
| OKLab | oklab(52.91% 0.1035 -0.2043) |
| OKLCH | oklch(52.91% 0.229 296.9) |
| XYZ | xyz(23.0321, 12.6286, 68.9203) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.48
Bluish Purple
#703BE7
ΔE00 2.58
Burple
#6832E3
ΔE00 3.83
Purpley Blue
#5F34E7
ΔE00 4.84
Purpleish Blue
#6140EF
ΔE00 4.88
Violet (survey)
#9A0EEA
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3ADC #98DC3A
analogous
#3A47DC #7E3ADC #CF3ADC
triadic
#7E3ADC #DC7E3A #3ADC7E
tetradic
#7E3ADC #DC3A47 #98DC3A #3ADCCF
square
#7E3ADC #DC3A47 #98DC3A #3ADCCF
split-complementary
#7E3ADC #DCCF3A #47DC3A
monochromatic
#451784 #6021B8 #7E3ADC #A06EE5 #C2A2EE
Accessibility & contrast
On white
5.96
#7E3ADC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7E3ADC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3ADC
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3ADC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3ADC | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#656488
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7e3adc; /* rgb */ color: rgb(126, 58, 220); /* oklch */ color: oklch(52.9% 0.229 296.9);
Tailwind
colors: {
custom: {
50: '#ab77e8',
500: '#7e3adc',
950: '#000000',
},
}SCSS
$custom: #7e3adc; $custom-light: #ab77e8; $custom-dark: #000000;
JSON
{
"hex": "#7e3adc",
"rgb": {
"r": 126,
"g": 58,
"b": 220
},
"hsl": {
"h": 265.185,
"s": 69.828,
"l": 54.51
},
"oklch": {
"l": 0.52906,
"c": 0.229,
"h": 296.9
},
"luminance": 0.12629
}Semantic roles & 50–950 ramp
primary
#7E3ADC
secondary
#BEDB97
accent
#ED3BA2
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84