#7A3EC0#7A3EC0
#7A3EC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.194 H 300.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3EC0 |
|---|---|
| RGB | rgb(122, 62, 192) |
| HSL | hsl(268, 51%, 50%) |
| HSV | hsv(268, 68%, 75%) |
| CMYK | cmyk(36.5%, 67.7%, 0%, 24.7%) |
| CIE-LAB | lab(40.23, 51.33, -58.42) |
| CIE-LCH | lch(40.23, 77.77, 311.30°) |
| OKLab | oklab(50.73% 0.0992 -0.1664) |
| OKLCH | oklch(50.73% 0.194 300.8) |
| XYZ | xyz(19.2608, 11.3885, 51.0424) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.51
Blueviolet
#8A2BE2
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.48
Bluish Purple
#703BE7
ΔE00 5.63
Burple
#6832E3
ΔE00 5.90
Royal Purple
#7851A9
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3EC0 #84C03E
analogous
#3E43C0 #7A3EC0 #BB3EC0
triadic
#7A3EC0 #C07A3E #3EC07A
tetradic
#7A3EC0 #C03E43 #84C03E #3EC0BB
square
#7A3EC0 #C03E43 #84C03E #3EC0BB
split-complementary
#7A3EC0 #C0BB3E #43C03E
monochromatic
#3F2063 #5D2F92 #7A3EC0 #9A6CCF #BA9ADE
Accessibility & contrast
On white
6.41
#7A3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#7A3EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3EC0
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3EC0 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#6B5C7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7a3ec0; /* rgb */ color: rgb(122, 62, 192); /* oklch */ color: oklch(50.7% 0.194 300.8);
Tailwind
colors: {
custom: {
50: '#a677d4',
500: '#7a3ec0',
950: '#000000',
},
}SCSS
$custom: #7a3ec0; $custom-light: #a677d4; $custom-dark: #000000;
JSON
{
"hex": "#7a3ec0",
"rgb": {
"r": 122,
"g": 62,
"b": 192
},
"hsl": {
"h": 267.692,
"s": 51.181,
"l": 49.804
},
"oklch": {
"l": 0.50726,
"c": 0.19369,
"h": 300.8
},
"luminance": 0.11389
}Semantic roles & 50–950 ramp
primary
#7A3EC0
secondary
#AFCA8F
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83