#7C32AF#7C32AF
#7C32AF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.191 H 307.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7C32AF |
|---|---|
| RGB | rgb(124, 50, 175) |
| HSL | hsl(276, 56%, 44%) |
| HSV | hsv(276, 71%, 69%) |
| CMYK | cmyk(29.1%, 71.4%, 0%, 31.4%) |
| CIE-LAB | lab(37.23, 53.32, -53.25) |
| CIE-LCH | lch(37.23, 75.35, 315.04°) |
| OKLab | oklab(48.25% 0.117 -0.151) |
| OKLCH | oklch(48.25% 0.191 307.8) |
| XYZ | xyz(17.1890, 9.6617, 41.5085) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.50
Rebeccapurple
#663399
ΔE00 4.79
Darkviolet
#9400D3
ΔE00 6.12
Darkorchid
#9932CC
ΔE00 6.27
Purply
#983FB2
ΔE00 6.59
Bluey Purple
#6241C7
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C32AF #65AF32
analogous
#3E32AF #7C32AF #AF32A4
triadic
#7C32AF #AF7C32 #32AF7C
tetradic
#7C32AF #AF3E32 #65AF32 #32A4AF
square
#7C32AF #AF3E32 #65AF32 #32A4AF
split-complementary
#7C32AF #A4AF32 #32AF3E
monochromatic
#391750 #5A247F #7C32AF #9B51CD #B681DB
Accessibility & contrast
On white
7.16
#7C32AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7C32AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C32AF
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C32AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C32AF | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0C58AC
Tritanopia (blue-blind)
#744E6D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7c32af; /* rgb */ color: rgb(124, 50, 175); /* oklch */ color: oklch(48.3% 0.191 307.8);
Tailwind
colors: {
custom: {
50: '#a670c8',
500: '#7c32af',
950: '#000000',
},
}SCSS
$custom: #7c32af; $custom-light: #a670c8; $custom-dark: #000000;
JSON
{
"hex": "#7c32af",
"rgb": {
"r": 124,
"g": 50,
"b": 175
},
"hsl": {
"h": 275.52,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.48252,
"c": 0.19103,
"h": 307.8
},
"luminance": 0.09661
}Semantic roles & 50–950 ramp
primary
#7C32AF
secondary
#97C479
accent
#DF4986
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82