#7A2CB0#7A2CB0
#7A2CB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 307.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CB0 |
|---|---|
| RGB | rgb(122, 44, 176) |
| HSL | hsl(275, 60%, 43%) |
| HSV | hsv(275, 75%, 69%) |
| CMYK | cmyk(30.7%, 75%, 0%, 31%) |
| CIE-LAB | lab(36.13, 55.71, -55.64) |
| CIE-LCH | lch(36.13, 78.74, 315.04°) |
| OKLab | oklab(47.44% 0.12 -0.1581) |
| OKLCH | oklch(47.44% 0.198 307.2) |
| XYZ | xyz(16.7615, 9.0737, 41.9343) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.09
Rebeccapurple
#663399
ΔE00 4.67
Darkviolet
#9400D3
ΔE00 5.86
Darkorchid
#9932CC
ΔE00 6.84
Purple Blue
#5D21D0
ΔE00 6.95
Bluey Purple
#6241C7
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CB0 #62B02C
analogous
#382CB0 #7A2CB0 #B02CA4
triadic
#7A2CB0 #B07A2C #2CB07A
tetradic
#7A2CB0 #B0382C #62B02C #2CA4B0
square
#7A2CB0 #B0382C #62B02C #2CA4B0
split-complementary
#7A2CB0 #A4B02C #2CB038
monochromatic
#36144E #58207F #7A2CB0 #9948D1 #B479DD
Accessibility & contrast
On white
7.46
#7A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#7A2CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CB0
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CB0 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#714C6C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7a2cb0; /* rgb */ color: rgb(122, 44, 176); /* oklch */ color: oklch(47.4% 0.198 307.2);
Tailwind
colors: {
custom: {
50: '#a56dc8',
500: '#7a2cb0',
950: '#000000',
},
}SCSS
$custom: #7a2cb0; $custom-light: #a56dc8; $custom-dark: #000000;
JSON
{
"hex": "#7a2cb0",
"rgb": {
"r": 122,
"g": 44,
"b": 176
},
"hsl": {
"h": 275.455,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.47436,
"c": 0.19846,
"h": 307.2
},
"luminance": 0.09074
}Semantic roles & 50–950 ramp
primary
#7A2CB0
secondary
#94C672
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82