#7D22C2#7D22C2
#7D22C2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.226 H 304.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7D22C2 |
|---|---|
| RGB | rgb(125, 34, 194) |
| HSL | hsl(274, 70%, 45%) |
| HSV | hsv(274, 82%, 76%) |
| CMYK | cmyk(35.6%, 82.5%, 0%, 23.9%) |
| CIE-LAB | lab(36.74, 63.81, -65.25) |
| CIE-LCH | lch(36.74, 91.26, 314.36°) |
| OKLab | oklab(48.4% 0.1276 -0.1861) |
| OKLCH | oklch(48.4% 0.226 304.4) |
| XYZ | xyz(18.7648, 9.3991, 51.8541) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.94
Blueviolet
#8A2BE2
ΔE00 5.32
Purple Blue
#5D21D0
ΔE00 5.37
Purple (survey)
#7E1E9C
ΔE00 6.02
Burple
#6832E3
ΔE00 6.13
Darkorchid
#9932CC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D22C2 #67C222
analogous
#2D22C2 #7D22C2 #C222B7
triadic
#7D22C2 #C27D22 #22C27D
tetradic
#7D22C2 #C22D22 #67C222 #22B7C2
square
#7D22C2 #C22D22 #67C222 #22B7C2
split-complementary
#7D22C2 #B7C222 #22C22D
monochromatic
#3A105A #5B198E #7D22C2 #9B43DE #B777E7
Accessibility & contrast
On white
7.29
#7D22C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#7D22C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D22C2
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D22C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D22C2 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#6F4F74
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7d22c2; /* rgb */ color: rgb(125, 34, 194); /* oklch */ color: oklch(48.4% 0.226 304.4);
Tailwind
colors: {
custom: {
50: '#a96ad6',
500: '#7d22c2',
950: '#000000',
},
}SCSS
$custom: #7d22c2; $custom-light: #a96ad6; $custom-dark: #000000;
JSON
{
"hex": "#7d22c2",
"rgb": {
"r": 125,
"g": 34,
"b": 194
},
"hsl": {
"h": 274.125,
"s": 70.175,
"l": 44.706
},
"oklch": {
"l": 0.48402,
"c": 0.2257,
"h": 304.4
},
"luminance": 0.09399
}Semantic roles & 50–950 ramp
primary
#7D22C2
secondary
#99CF71
accent
#ED3B88
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83