#7A2AA9#7A2AA9
#7A2AA9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.194 H 309.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2AA9 |
|---|---|
| RGB | rgb(122, 42, 169) |
| HSL | hsl(278, 60%, 41%) |
| HSV | hsv(278, 75%, 66%) |
| CMYK | cmyk(27.8%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(35.32, 54.96, -52.77) |
| CIE-LCH | lch(35.32, 76.19, 316.16°) |
| OKLab | oklab(46.7% 0.1232 -0.1496) |
| OKLCH | oklch(46.7% 0.194 309.5) |
| XYZ | xyz(16.0140, 8.6584, 38.3561) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.97
Rebeccapurple
#663399
ΔE00 4.23
Darkviolet
#9400D3
ΔE00 6.57
Darkorchid
#9932CC
ΔE00 7.53
Darkmagenta
#8B008B
ΔE00 7.54
Purply
#983FB2
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2AA9 #59A92A
analogous
#3A2AA9 #7A2AA9 #A92A99
triadic
#7A2AA9 #A97A2A #2AA97A
tetradic
#7A2AA9 #A93A2A #59A92A #2A99A9
square
#7A2AA9 #A93A2A #59A92A #2A99A9
split-complementary
#7A2AA9 #99A92A #2AA93A
monochromatic
#331247 #571E78 #7A2AA9 #9B41D0 #B572DC
Accessibility & contrast
On white
7.69
#7A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#7A2AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2AA9
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2AA9 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0354A6
Tritanopia (blue-blind)
#734868
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7a2aa9; /* rgb */ color: rgb(122, 42, 169); /* oklch */ color: oklch(46.7% 0.194 309.5);
Tailwind
colors: {
custom: {
50: '#a56cc3',
500: '#7a2aa9',
950: '#000000',
},
}SCSS
$custom: #7a2aa9; $custom-light: #a56cc3; $custom-dark: #000000;
JSON
{
"hex": "#7a2aa9",
"rgb": {
"r": 122,
"g": 42,
"b": 169
},
"hsl": {
"h": 277.795,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.46701,
"c": 0.19382,
"h": 309.5
},
"luminance": 0.08658
}Semantic roles & 50–950 ramp
primary
#7A2AA9
secondary
#8CC36C
accent
#E3447F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82