#7E3ECA#7E3ECA
#7E3ECA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.205 H 300.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3ECA |
|---|---|
| RGB | rgb(126, 62, 202) |
| HSL | hsl(267, 57%, 52%) |
| HSV | hsv(267, 69%, 79%) |
| CMYK | cmyk(37.6%, 69.3%, 0%, 20.8%) |
| CIE-LAB | lab(41.45, 54.59, -62.24) |
| CIE-LCH | lch(41.45, 82.79, 311.25°) |
| OKLab | oklab(51.93% 0.1033 -0.1775) |
| OKLCH | oklch(51.93% 0.205 300.2) |
| XYZ | xyz(20.9848, 12.1450, 57.1043) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.94
Bluish Purple
#703BE7
ΔE00 4.57
Darkorchid
#9932CC
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 4.81
Burple
#6832E3
ΔE00 5.28
Darkviolet
#9400D3
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3ECA #8ACA3E
analogous
#3E44CA #7E3ECA #C43ECA
triadic
#7E3ECA #CA7E3E #3ECA7E
tetradic
#7E3ECA #CA3E44 #8ACA3E #3ECAC4
square
#7E3ECA #CA3E44 #8ACA3E #3ECAC4
split-complementary
#7E3ECA #CAC43E #44CA3E
monochromatic
#431F6F #602C9F #7E3ECA #9E6ED7 #BE9EE4
Accessibility & contrast
On white
6.12
#7E3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7E3ECA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3ECA
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3ECA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3ECA | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#6D5F7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7e3eca; /* rgb */ color: rgb(126, 62, 202); /* oklch */ color: oklch(51.9% 0.205 300.2);
Tailwind
colors: {
custom: {
50: '#a978db',
500: '#7e3eca',
950: '#000000',
},
}SCSS
$custom: #7e3eca; $custom-light: #a978db; $custom-dark: #000000;
JSON
{
"hex": "#7e3eca",
"rgb": {
"r": 126,
"g": 62,
"b": 202
},
"hsl": {
"h": 267.429,
"s": 56.911,
"l": 51.765
},
"oklch": {
"l": 0.51935,
"c": 0.20532,
"h": 300.2
},
"luminance": 0.12145
}Semantic roles & 50–950 ramp
primary
#7E3ECA
secondary
#B5D193
accent
#E0489A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100915
muted
#7F7B83