#7A32AB#7A32AB
#7A32AB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.186 H 308.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7A32AB |
|---|---|
| RGB | rgb(122, 50, 171) |
| HSL | hsl(276, 55%, 43%) |
| HSV | hsv(276, 71%, 67%) |
| CMYK | cmyk(28.7%, 70.8%, 0%, 32.9%) |
| CIE-LAB | lab(36.67, 52.00, -51.78) |
| CIE-LCH | lch(36.67, 73.39, 315.12°) |
| OKLab | oklab(47.7% 0.1149 -0.1468) |
| OKLCH | oklch(47.7% 0.186 308) |
| XYZ | xyz(16.5158, 9.3593, 39.4567) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.12
Rebeccapurple
#663399
ΔE00 4.21
Darkviolet
#9400D3
ΔE00 6.67
Darkorchid
#9932CC
ΔE00 6.87
Purply
#983FB2
ΔE00 6.88
Bluey Purple
#6241C7
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A32AB #63AB32
analogous
#3D32AB #7A32AB #AB329F
triadic
#7A32AB #AB7A32 #32AB7A
tetradic
#7A32AB #AB3D32 #63AB32 #329FAB
square
#7A32AB #AB3D32 #63AB32 #329FAB
split-complementary
#7A32AB #9FAB32 #32AB3D
monochromatic
#36164C #58247C #7A32AB #994FCB #B47ED9
Accessibility & contrast
On white
7.31
#7A32AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7A32AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A32AB
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A32AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A32AB | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#724D6B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a32ab; /* rgb */ color: rgb(122, 50, 171); /* oklch */ color: oklch(47.7% 0.186 308.0);
Tailwind
colors: {
custom: {
50: '#a570c5',
500: '#7a32ab',
950: '#000000',
},
}SCSS
$custom: #7a32ab; $custom-light: #a570c5; $custom-dark: #000000;
JSON
{
"hex": "#7a32ab",
"rgb": {
"r": 122,
"g": 50,
"b": 171
},
"hsl": {
"h": 275.702,
"s": 54.751,
"l": 43.333
},
"oklch": {
"l": 0.47704,
"c": 0.18637,
"h": 308
},
"luminance": 0.09359
}Semantic roles & 50–950 ramp
primary
#7A32AB
secondary
#95C277
accent
#DE4A86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82