#7E32AD#7E32AD
#7E32AD is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.190 H 309.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E32AD |
|---|---|
| RGB | rgb(126, 50, 173) |
| HSL | hsl(277, 55%, 44%) |
| HSV | hsv(277, 71%, 68%) |
| CMYK | cmyk(27.2%, 71.1%, 0%, 32.2%) |
| CIE-LAB | lab(37.36, 53.28, -51.83) |
| CIE-LCH | lch(37.36, 74.33, 315.79°) |
| OKLab | oklab(48.36% 0.12 -0.1468) |
| OKLCH | oklch(48.36% 0.19 309.3) |
| XYZ | xyz(17.2861, 9.7343, 40.4953) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.22
Rebeccapurple
#663399
ΔE00 4.93
Darkorchid
#9932CC
ΔE00 6.19
Purply
#983FB2
ΔE00 6.20
Darkviolet
#9400D3
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E32AD #61AD32
analogous
#4032AD #7E32AD #AD329E
triadic
#7E32AD #AD7E32 #32AD7E
tetradic
#7E32AD #AD4032 #61AD32 #329EAD
square
#7E32AD #AD4032 #61AD32 #329EAD
split-complementary
#7E32AD #9EAD32 #32AD40
monochromatic
#39174E #5B247E #7E32AD #9D50CC #B77FDA
Accessibility & contrast
On white
7.13
#7E32AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#7E32AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E32AD
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E32AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E32AD | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#1759AA
Tritanopia (blue-blind)
#774D6C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7e32ad; /* rgb */ color: rgb(126, 50, 173); /* oklch */ color: oklch(48.4% 0.190 309.3);
Tailwind
colors: {
custom: {
50: '#a870c6',
500: '#7e32ad',
950: '#000000',
},
}SCSS
$custom: #7e32ad; $custom-light: #a870c6; $custom-dark: #000000;
JSON
{
"hex": "#7e32ad",
"rgb": {
"r": 126,
"g": 50,
"b": 173
},
"hsl": {
"h": 277.073,
"s": 55.157,
"l": 43.725
},
"oklch": {
"l": 0.4836,
"c": 0.18958,
"h": 309.3
},
"luminance": 0.09734
}Semantic roles & 50–950 ramp
primary
#7E32AD
secondary
#95C378
accent
#DE4982
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82