#7A2ECA#7A2ECA
#7A2ECA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.222 H 300.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2ECA |
|---|---|
| RGB | rgb(122, 46, 202) |
| HSL | hsl(269, 63%, 49%) |
| HSV | hsv(269, 77%, 79%) |
| CMYK | cmyk(39.6%, 77.2%, 0%, 20.8%) |
| CIE-LAB | lab(38.47, 60.91, -67.11) |
| CIE-LCH | lch(38.47, 90.63, 312.23°) |
| OKLab | oklab(49.73% 0.1122 -0.1918) |
| OKLCH | oklch(49.73% 0.222 300.3) |
| XYZ | xyz(19.6610, 10.3556, 56.8287) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.96
Burple
#6832E3
ΔE00 4.38
Darkviolet
#9400D3
ΔE00 4.52
Bluish Purple
#703BE7
ΔE00 5.06
Purple Blue
#5D21D0
ΔE00 5.13
Bluey Purple
#6241C7
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2ECA #7ECA2E
analogous
#2E30CA #7A2ECA #C82ECA
triadic
#7A2ECA #CA7A2E #2ECA7A
tetradic
#7A2ECA #CA2E30 #7ECA2E #2ECAC8
square
#7A2ECA #CA2E30 #7ECA2E #2ECAC8
split-complementary
#7A2ECA #CAC82E #30CA2E
monochromatic
#3E1766 #5C2398 #7A2ECA #995BDA #B88DE5
Accessibility & contrast
On white
6.84
#7A2ECA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#7A2ECA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2ECA
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2ECA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2ECA | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#67587B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7a2eca; /* rgb */ color: rgb(122, 46, 202); /* oklch */ color: oklch(49.7% 0.222 300.3);
Tailwind
colors: {
custom: {
50: '#a86fdb',
500: '#7a2eca',
950: '#000000',
},
}SCSS
$custom: #7a2eca; $custom-light: #a86fdb; $custom-dark: #000000;
JSON
{
"hex": "#7a2eca",
"rgb": {
"r": 122,
"g": 46,
"b": 202
},
"hsl": {
"h": 269.231,
"s": 62.903,
"l": 48.627
},
"oklch": {
"l": 0.49728,
"c": 0.22219,
"h": 300.3
},
"luminance": 0.10356
}Semantic roles & 50–950 ramp
primary
#7A2ECA
secondary
#ABCF84
accent
#E64296
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83