#7E3ACD#7E3ACD
#7E3ACD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.213 H 300.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3ACD |
|---|---|
| RGB | rgb(126, 58, 205) |
| HSL | hsl(268, 60%, 52%) |
| HSV | hsv(268, 72%, 80%) |
| CMYK | cmyk(38.5%, 71.7%, 0%, 19.6%) |
| CIE-LAB | lab(41.01, 57.19, -64.69) |
| CIE-LCH | lch(41.01, 86.35, 311.48°) |
| OKLab | oklab(51.7% 0.1067 -0.1846) |
| OKLCH | oklch(51.7% 0.213 300) |
| XYZ | xyz(21.1339, 11.8693, 58.9233) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.33
Bluish Purple
#703BE7
ΔE00 4.21
Burple
#6832E3
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 4.84
Darkviolet
#9400D3
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3ACD #89CD3A
analogous
#3A40CD #7E3ACD #C73ACD
triadic
#7E3ACD #CD7E3A #3ACD7E
tetradic
#7E3ACD #CD3A40 #89CD3A #3ACDC7
square
#7E3ACD #CD3A40 #89CD3A #3ACDC7
split-complementary
#7E3ACD #CDC73A #40CD3A
monochromatic
#431C70 #6029A1 #7E3ACD #9E6BD9 #BE9CE6
Accessibility & contrast
On white
6.22
#7E3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7E3ACD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3ACD
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3ACD | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#6C5E80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7e3acd; /* rgb */ color: rgb(126, 58, 205); /* oklch */ color: oklch(51.7% 0.213 300.0);
Tailwind
colors: {
custom: {
50: '#aa76dd',
500: '#7e3acd',
950: '#000000',
},
}SCSS
$custom: #7e3acd; $custom-light: #aa76dd; $custom-dark: #000000;
JSON
{
"hex": "#7e3acd",
"rgb": {
"r": 126,
"g": 58,
"b": 205
},
"hsl": {
"h": 267.755,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.51695,
"c": 0.21323,
"h": 300
},
"luminance": 0.1187
}Semantic roles & 50–950 ramp
primary
#7E3ACD
secondary
#B4D291
accent
#E3459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83