#7A2EC9#7A2EC9
#7A2EC9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.221 H 300.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2EC9 |
|---|---|
| RGB | rgb(122, 46, 201) |
| HSL | hsl(269, 63%, 48%) |
| HSV | hsv(269, 77%, 79%) |
| CMYK | cmyk(39.3%, 77.1%, 0%, 21.2%) |
| CIE-LAB | lab(38.39, 60.67, -66.66) |
| CIE-LCH | lch(38.39, 90.14, 312.31°) |
| OKLab | oklab(49.64% 0.1125 -0.1905) |
| OKLCH | oklch(49.64% 0.221 300.6) |
| XYZ | xyz(19.5430, 10.3084, 56.2071) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.06
Burple
#6832E3
ΔE00 4.50
Darkviolet
#9400D3
ΔE00 4.53
Purple Blue
#5D21D0
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 5.19
Bluey Purple
#6241C7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2EC9 #7DC92E
analogous
#2E30C9 #7A2EC9 #C72EC9
triadic
#7A2EC9 #C97A2E #2EC97A
tetradic
#7A2EC9 #C92E30 #7DC92E #2EC9C7
square
#7A2EC9 #C92E30 #7DC92E #2EC9C7
split-complementary
#7A2EC9 #C9C72E #30C92E
monochromatic
#3E1765 #5C2397 #7A2EC9 #995BD9 #B88DE5
Accessibility & contrast
On white
6.86
#7A2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#7A2EC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2EC9
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2EC9 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#68577B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7a2ec9; /* rgb */ color: rgb(122, 46, 201); /* oklch */ color: oklch(49.6% 0.221 300.6);
Tailwind
colors: {
custom: {
50: '#a76fda',
500: '#7a2ec9',
950: '#000000',
},
}SCSS
$custom: #7a2ec9; $custom-light: #a76fda; $custom-dark: #000000;
JSON
{
"hex": "#7a2ec9",
"rgb": {
"r": 122,
"g": 46,
"b": 201
},
"hsl": {
"h": 269.419,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.49644,
"c": 0.2212,
"h": 300.6
},
"luminance": 0.10309
}Semantic roles & 50–950 ramp
primary
#7A2EC9
secondary
#AACF84
accent
#E64295
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83