#7A3EC6#7A3EC6
#7A3EC6 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.200 H 299.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3EC6 |
|---|---|
| RGB | rgb(122, 62, 198) |
| HSL | hsl(266, 54%, 51%) |
| HSV | hsv(266, 69%, 78%) |
| CMYK | cmyk(38.4%, 68.7%, 0%, 22.4%) |
| CIE-LAB | lab(40.67, 52.83, -61.20) |
| CIE-LCH | lch(40.67, 80.85, 310.80°) |
| OKLab | oklab(51.18% 0.0984 -0.1745) |
| OKLCH | oklch(51.18% 0.2 299.4) |
| XYZ | xyz(19.9392, 11.6598, 54.6152) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.20
Blueviolet
#8A2BE2
ΔE00 4.56
Bluish Purple
#703BE7
ΔE00 4.76
Burple
#6832E3
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.43
Purpley Blue
#5F34E7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3EC6 #8AC63E
analogous
#3E46C6 #7A3EC6 #BE3EC6
triadic
#7A3EC6 #C67A3E #3EC67A
tetradic
#7A3EC6 #C63E46 #8AC63E #3EC6BE
square
#7A3EC6 #C63E46 #8AC63E #3EC6BE
split-complementary
#7A3EC6 #C6BE3E #46C63E
monochromatic
#401F6A #5D2D99 #7A3EC6 #9B6DD4 #BB9CE2
Accessibility & contrast
On white
6.30
#7A3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7A3EC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3EC6
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3EC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3EC6 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#685E7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7a3ec6; /* rgb */ color: rgb(122, 62, 198); /* oklch */ color: oklch(51.2% 0.200 299.4);
Tailwind
colors: {
custom: {
50: '#a678d8',
500: '#7a3ec6',
950: '#000000',
},
}SCSS
$custom: #7a3ec6; $custom-light: #a678d8; $custom-dark: #000000;
JSON
{
"hex": "#7a3ec6",
"rgb": {
"r": 122,
"g": 62,
"b": 198
},
"hsl": {
"h": 266.471,
"s": 54.4,
"l": 50.98
},
"oklch": {
"l": 0.51182,
"c": 0.20033,
"h": 299.4
},
"luminance": 0.1166
}Semantic roles & 50–950 ramp
primary
#7A3EC6
secondary
#B3CE92
accent
#DE4A9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83