#7A22C1#7A22C1
#7A22C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.224 H 303.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7A22C1 |
|---|---|
| RGB | rgb(122, 34, 193) |
| HSL | hsl(273, 70%, 45%) |
| HSV | hsv(273, 82%, 76%) |
| CMYK | cmyk(36.8%, 82.4%, 0%, 24.3%) |
| CIE-LAB | lab(36.24, 63.14, -65.51) |
| CIE-LCH | lch(36.24, 90.99, 313.95°) |
| OKLab | oklab(47.94% 0.1237 -0.187) |
| OKLCH | oklch(47.94% 0.224 303.5) |
| XYZ | xyz(18.2214, 9.1319, 51.2444) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.40
Purple Blue
#5D21D0
ΔE00 4.96
Blueviolet
#8A2BE2
ΔE00 5.66
Purple (survey)
#7E1E9C
ΔE00 6.02
Burple
#6832E3
ΔE00 6.05
Purply Blue
#661AEE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A22C1 #69C122
analogous
#2B22C1 #7A22C1 #C122B8
triadic
#7A22C1 #C17A22 #22C17A
tetradic
#7A22C1 #C12B22 #69C122 #22B8C1
square
#7A22C1 #C12B22 #69C122 #22B8C1
split-complementary
#7A22C1 #B8C122 #22C12B
monochromatic
#381059 #59198D #7A22C1 #9842DE #B576E7
Accessibility & contrast
On white
7.43
#7A22C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#7A22C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A22C1
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A22C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A22C1 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#6B4F74
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7a22c1; /* rgb */ color: rgb(122, 34, 193); /* oklch */ color: oklch(47.9% 0.224 303.5);
Tailwind
colors: {
custom: {
50: '#a76ad5',
500: '#7a22c1',
950: '#000000',
},
}SCSS
$custom: #7a22c1; $custom-light: #a76ad5; $custom-dark: #000000;
JSON
{
"hex": "#7a22c1",
"rgb": {
"r": 122,
"g": 34,
"b": 193
},
"hsl": {
"h": 273.208,
"s": 70.044,
"l": 44.51
},
"oklch": {
"l": 0.47938,
"c": 0.22418,
"h": 303.5
},
"luminance": 0.09132
}Semantic roles & 50–950 ramp
primary
#7A22C1
secondary
#9ACE71
accent
#ED3B8A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83