#7C2AA3#7C2AA3
#7C2AA3 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.189 H 312.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2AA3 |
|---|---|
| RGB | rgb(124, 42, 163) |
| HSL | hsl(281, 59%, 40%) |
| HSV | hsv(281, 74%, 64%) |
| CMYK | cmyk(23.9%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(35.17, 54.05, -49.38) |
| CIE-LCH | lch(35.17, 73.21, 317.58°) |
| OKLab | oklab(46.52% 0.1269 -0.1396) |
| OKLCH | oklch(46.52% 0.189 312.3) |
| XYZ | xyz(15.7498, 8.5858, 35.4708) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.11
Rebeccapurple
#663399
ΔE00 4.36
Darkmagenta
#8B008B
ΔE00 6.55
Darkviolet
#9400D3
ΔE00 7.20
Purply
#983FB2
ΔE00 7.44
Purple
#800080
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2AA3 #51A32A
analogous
#3F2AA3 #7C2AA3 #A32A8D
triadic
#7C2AA3 #A37C2A #2AA37C
tetradic
#7C2AA3 #A33F2A #51A32A #2A8DA3
square
#7C2AA3 #A33F2A #51A32A #2A8DA3
split-complementary
#7C2AA3 #8DA32A #2AA33F
monochromatic
#321142 #571D72 #7C2AA3 #9F3DCD #B76EDA
Accessibility & contrast
On white
7.73
#7C2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#7C2AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2AA3
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2AA3 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#774564
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7c2aa3; /* rgb */ color: rgb(124, 42, 163); /* oklch */ color: oklch(46.5% 0.189 312.3);
Tailwind
colors: {
custom: {
50: '#a66cbf',
500: '#7c2aa3',
950: '#000000',
},
}SCSS
$custom: #7c2aa3; $custom-light: #a66cbf; $custom-dark: #000000;
JSON
{
"hex": "#7c2aa3",
"rgb": {
"r": 124,
"g": 42,
"b": 163
},
"hsl": {
"h": 280.661,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.46522,
"c": 0.18865,
"h": 312.3
},
"luminance": 0.08585
}Semantic roles & 50–950 ramp
primary
#7C2AA3
secondary
#85C068
accent
#E24678
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81