#7A2CA1#7A2CA1
#7A2CA1 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.184 H 311.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CA1 |
|---|---|
| RGB | rgb(122, 44, 161) |
| HSL | hsl(280, 57%, 40%) |
| HSV | hsv(280, 73%, 63%) |
| CMYK | cmyk(24.2%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(35.03, 52.39, -48.43) |
| CIE-LCH | lch(35.03, 71.34, 317.25°) |
| OKLab | oklab(46.31% 0.1225 -0.1369) |
| OKLCH | oklch(46.31% 0.184 311.8) |
| XYZ | xyz(15.3586, 8.5126, 34.5453) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.29
Rebeccapurple
#663399
ΔE00 3.94
Darkmagenta
#8B008B
ΔE00 6.68
Purply
#983FB2
ΔE00 7.57
Purple
#800080
ΔE00 7.58
Darkviolet
#9400D3
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CA1 #53A12C
analogous
#3F2CA1 #7A2CA1 #A12C8D
triadic
#7A2CA1 #A17A2C #2CA17A
tetradic
#7A2CA1 #A13F2C #53A12C #2C8DA1
square
#7A2CA1 #A13F2C #53A12C #2C8DA1
split-complementary
#7A2CA1 #8DA12C #2CA13F
monochromatic
#311241 #561F71 #7A2CA1 #9C40CB #B570D8
Accessibility & contrast
On white
7.77
#7A2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#7A2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CA1
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CA1 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#1C549E
Tritanopia (blue-blind)
#754664
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7a2ca1; /* rgb */ color: rgb(122, 44, 161); /* oklch */ color: oklch(46.3% 0.184 311.8);
Tailwind
colors: {
custom: {
50: '#a46dbd',
500: '#7a2ca1',
950: '#000000',
},
}SCSS
$custom: #7a2ca1; $custom-light: #a46dbd; $custom-dark: #000000;
JSON
{
"hex": "#7a2ca1",
"rgb": {
"r": 122,
"g": 44,
"b": 161
},
"hsl": {
"h": 280,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.46312,
"c": 0.18369,
"h": 311.8
},
"luminance": 0.08512
}Semantic roles & 50–950 ramp
primary
#7A2CA1
secondary
#86BF6A
accent
#E0477A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81