#7A2ABF#7A2ABF
#7A2ABF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.215 H 303.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2ABF |
|---|---|
| RGB | rgb(122, 42, 191) |
| HSL | hsl(272, 64%, 46%) |
| HSV | hsv(272, 78%, 75%) |
| CMYK | cmyk(36.1%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(37.03, 59.90, -63.03) |
| CIE-LCH | lch(37.03, 86.96, 313.54°) |
| OKLab | oklab(48.44% 0.1183 -0.1798) |
| OKLCH | oklch(48.44% 0.215 303.3) |
| XYZ | xyz(18.2558, 9.5551, 50.1627) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.64
Purple Blue
#5D21D0
ΔE00 5.39
Blueviolet
#8A2BE2
ΔE00 5.41
Burple
#6832E3
ΔE00 5.92
Purple (survey)
#7E1E9C
ΔE00 6.05
Bluey Purple
#6241C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2ABF #6FBF2A
analogous
#302ABF #7A2ABF #BF2AB9
triadic
#7A2ABF #BF7A2A #2ABF7A
tetradic
#7A2ABF #BF302A #6FBF2A #2AB9BF
square
#7A2ABF #BF302A #6FBF2A #2AB9BF
split-complementary
#7A2ABF #B9BF2A #2ABF30
monochromatic
#3A145B #5A1F8D #7A2ABF #984ED8 #B580E3
Accessibility & contrast
On white
7.21
#7A2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#7A2ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2ABF
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2ABF | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6C5174
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a2abf; /* rgb */ color: rgb(122, 42, 191); /* oklch */ color: oklch(48.4% 0.215 303.3);
Tailwind
colors: {
custom: {
50: '#a76dd3',
500: '#7a2abf',
950: '#000000',
},
}SCSS
$custom: #7a2abf; $custom-light: #a76dd3; $custom-dark: #000000;
JSON
{
"hex": "#7a2abf",
"rgb": {
"r": 122,
"g": 42,
"b": 191
},
"hsl": {
"h": 272.215,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.4844,
"c": 0.21522,
"h": 303.3
},
"luminance": 0.09555
}Semantic roles & 50–950 ramp
primary
#7A2ABF
secondary
#9FCC79
accent
#E7418E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83