#7A3AB9#7A3AB9
#7A3AB9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.191 H 303.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3AB9 |
|---|---|
| RGB | rgb(122, 58, 185) |
| HSL | hsl(270, 52%, 48%) |
| HSV | hsv(270, 69%, 73%) |
| CMYK | cmyk(34.1%, 68.6%, 0%, 27.5%) |
| CIE-LAB | lab(39.01, 51.56, -56.28) |
| CIE-LCH | lch(39.01, 76.33, 312.49°) |
| OKLab | oklab(49.7% 0.1044 -0.1601) |
| OKLCH | oklch(49.7% 0.191 303.1) |
| XYZ | xyz(18.2940, 10.6665, 46.9846) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.25
Darkorchid
#9932CC
ΔE00 5.67
Blueviolet
#8A2BE2
ΔE00 5.87
Rebeccapurple
#663399
ΔE00 5.92
Darkviolet
#9400D3
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3AB9 #79B93A
analogous
#3A3AB9 #7A3AB9 #B93AB8
triadic
#7A3AB9 #B97A3A #3AB97A
tetradic
#7A3AB9 #B93A3A #79B93A #3AB8B9
square
#7A3AB9 #B93A3A #79B93A #3AB8B9
split-complementary
#7A3AB9 #B8B93A #3AB93A
monochromatic
#3D1D5C #5B2B8A #7A3AB9 #9962CE #B791DC
Accessibility & contrast
On white
6.70
#7A3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#7A3AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3AB9
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3AB9 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6D5775
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7a3ab9; /* rgb */ color: rgb(122, 58, 185); /* oklch */ color: oklch(49.7% 0.191 303.1);
Tailwind
colors: {
custom: {
50: '#a575cf',
500: '#7a3ab9',
950: '#000000',
},
}SCSS
$custom: #7a3ab9; $custom-light: #a575cf; $custom-dark: #000000;
JSON
{
"hex": "#7a3ab9",
"rgb": {
"r": 122,
"g": 58,
"b": 185
},
"hsl": {
"h": 270.236,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.49697,
"c": 0.1911,
"h": 303.1
},
"luminance": 0.10666
}Semantic roles & 50–950 ramp
primary
#7A3AB9
secondary
#A7C787
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82