#7A2ABD#7A2ABD
#7A2ABD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.213 H 303.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2ABD |
|---|---|
| RGB | rgb(122, 42, 189) |
| HSL | hsl(273, 64%, 45%) |
| HSV | hsv(273, 78%, 74%) |
| CMYK | cmyk(35.4%, 77.8%, 0%, 25.9%) |
| CIE-LAB | lab(36.87, 59.44, -62.12) |
| CIE-LCH | lch(36.87, 85.98, 313.74°) |
| OKLab | oklab(48.28% 0.1188 -0.1771) |
| OKLCH | oklch(48.28% 0.213 303.9) |
| XYZ | xyz(18.0372, 9.4677, 49.0114) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.75
Purple Blue
#5D21D0
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 5.65
Purple (survey)
#7E1E9C
ΔE00 5.78
Rebeccapurple
#663399
ΔE00 6.04
Burple
#6832E3
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2ABD #6DBD2A
analogous
#312ABD #7A2ABD #BD2AB6
triadic
#7A2ABD #BD7A2A #2ABD7A
tetradic
#7A2ABD #BD312A #6DBD2A #2AB6BD
square
#7A2ABD #BD312A #6DBD2A #2AB6BD
split-complementary
#7A2ABD #B6BD2A #2ABD31
monochromatic
#391459 #5A1F8B #7A2ABD #984DD7 #B57FE3
Accessibility & contrast
On white
7.26
#7A2ABD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#7A2ABD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2ABD
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2ABD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2ABD | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#6D5173
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a2abd; /* rgb */ color: rgb(122, 42, 189); /* oklch */ color: oklch(48.3% 0.213 303.9);
Tailwind
colors: {
custom: {
50: '#a76dd2',
500: '#7a2abd',
950: '#000000',
},
}SCSS
$custom: #7a2abd; $custom-light: #a76dd2; $custom-dark: #000000;
JSON
{
"hex": "#7a2abd",
"rgb": {
"r": 122,
"g": 42,
"b": 189
},
"hsl": {
"h": 272.653,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.48276,
"c": 0.21327,
"h": 303.9
},
"luminance": 0.09468
}Semantic roles & 50–950 ramp
primary
#7A2ABD
secondary
#9ECB78
accent
#E7418D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83