#7A2CB1#7A2CB1
#7A2CB1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.199 H 306.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CB1 |
|---|---|
| RGB | rgb(122, 44, 177) |
| HSL | hsl(275, 60%, 43%) |
| HSV | hsv(275, 75%, 69%) |
| CMYK | cmyk(31.1%, 75.1%, 0%, 30.6%) |
| CIE-LAB | lab(36.20, 55.93, -56.11) |
| CIE-LCH | lch(36.20, 79.23, 314.91°) |
| OKLab | oklab(47.51% 0.1198 -0.1595) |
| OKLCH | oklch(47.51% 0.199 306.9) |
| XYZ | xyz(16.8608, 9.1135, 42.4573) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.23
Rebeccapurple
#663399
ΔE00 4.75
Darkviolet
#9400D3
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 6.77
Purple Blue
#5D21D0
ΔE00 6.83
Blueviolet
#8A2BE2
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CB1 #63B12C
analogous
#372CB1 #7A2CB1 #B12CA5
triadic
#7A2CB1 #B17A2C #2CB17A
tetradic
#7A2CB1 #B1372C #63B12C #2CA5B1
square
#7A2CB1 #B1372C #63B12C #2CA5B1
split-complementary
#7A2CB1 #A5B12C #2CB137
monochromatic
#36144F #582080 #7A2CB1 #9949D2 #B47ADE
Accessibility & contrast
On white
7.44
#7A2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#7A2CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CB1
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CB1 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#714C6D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7a2cb1; /* rgb */ color: rgb(122, 44, 177); /* oklch */ color: oklch(47.5% 0.199 306.9);
Tailwind
colors: {
custom: {
50: '#a66dc9',
500: '#7a2cb1',
950: '#000000',
},
}SCSS
$custom: #7a2cb1; $custom-light: #a66dc9; $custom-dark: #000000;
JSON
{
"hex": "#7a2cb1",
"rgb": {
"r": 122,
"g": 44,
"b": 177
},
"hsl": {
"h": 275.188,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.47513,
"c": 0.19945,
"h": 306.9
},
"luminance": 0.09113
}Semantic roles & 50–950 ramp
primary
#7A2CB1
secondary
#95C673
accent
#E34486
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82