#7A30A2#7A30A2
#7A30A2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.180 H 311.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7A30A2 |
|---|---|
| RGB | rgb(122, 48, 162) |
| HSL | hsl(279, 54%, 41%) |
| HSV | hsv(279, 70%, 64%) |
| CMYK | cmyk(24.7%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(35.71, 50.87, -47.92) |
| CIE-LCH | lch(35.71, 69.89, 316.71°) |
| OKLab | oklab(46.82% 0.1181 -0.1354) |
| OKLCH | oklch(46.82% 0.18 311.1) |
| XYZ | xyz(15.6033, 8.8605, 35.0637) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.97
Rebeccapurple
#663399
ΔE00 3.84
Purply
#983FB2
ΔE00 7.12
Darkmagenta
#8B008B
ΔE00 7.18
Darkviolet
#9400D3
ΔE00 7.64
Warm Purple
#952E8F
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A30A2 #58A230
analogous
#4130A2 #7A30A2 #A23091
triadic
#7A30A2 #A27A30 #30A27A
tetradic
#7A30A2 #A24130 #58A230 #3091A2
square
#7A30A2 #A24130 #58A230 #3091A2
split-complementary
#7A30A2 #91A230 #30A241
monochromatic
#331444 #562273 #7A30A2 #9B47C8 #B576D6
Accessibility & contrast
On white
7.58
#7A30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#7A30A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A30A2
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A30A2 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#754865
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7a30a2; /* rgb */ color: rgb(122, 48, 162); /* oklch */ color: oklch(46.8% 0.180 311.1);
Tailwind
colors: {
custom: {
50: '#a46fbe',
500: '#7a30a2',
950: '#000000',
},
}SCSS
$custom: #7a30a2; $custom-light: #a46fbe; $custom-dark: #000000;
JSON
{
"hex": "#7a30a2",
"rgb": {
"r": 122,
"g": 48,
"b": 162
},
"hsl": {
"h": 278.947,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.46823,
"c": 0.17972,
"h": 311.1
},
"luminance": 0.0886
}Semantic roles & 50–950 ramp
primary
#7A30A2
secondary
#8BBE6F
accent
#DE4A7E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81