#7A26C7#7A26C7
#7A26C7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.8% C 0.227 H 301.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7A26C7 |
|---|---|
| RGB | rgb(122, 38, 199) |
| HSL | hsl(271, 68%, 46%) |
| HSV | hsv(271, 81%, 78%) |
| CMYK | cmyk(38.7%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(37.20, 63.17, -67.44) |
| CIE-LCH | lch(37.20, 92.40, 313.13°) |
| OKLab | oklab(48.76% 0.1191 -0.1927) |
| OKLCH | oklch(48.76% 0.227 301.7) |
| XYZ | xyz(19.0254, 9.6472, 54.8815) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.21
Purple Blue
#5D21D0
ΔE00 4.73
Blueviolet
#8A2BE2
ΔE00 4.74
Burple
#6832E3
ΔE00 5.09
Purply Blue
#661AEE
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A26C7 #73C726
analogous
#2926C7 #7A26C7 #C726C4
triadic
#7A26C7 #C77A26 #26C77A
tetradic
#7A26C7 #C72926 #73C726 #26C4C7
square
#7A26C7 #C72926 #73C726 #26C4C7
split-complementary
#7A26C7 #C4C726 #26C729
monochromatic
#3B1260 #5A1C94 #7A26C7 #984DDD #B681E7
Accessibility & contrast
On white
7.17
#7A26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7A26C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A26C7
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A26C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A26C7 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#695378
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7a26c7; /* rgb */ color: rgb(122, 38, 199); /* oklch */ color: oklch(48.8% 0.227 301.7);
Tailwind
colors: {
custom: {
50: '#a86cd9',
500: '#7a26c7',
950: '#000000',
},
}SCSS
$custom: #7a26c7; $custom-light: #a86cd9; $custom-dark: #000000;
JSON
{
"hex": "#7a26c7",
"rgb": {
"r": 122,
"g": 38,
"b": 199
},
"hsl": {
"h": 271.304,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.48764,
"c": 0.22653,
"h": 301.7
},
"luminance": 0.09647
}Semantic roles & 50–950 ramp
primary
#7A26C7
secondary
#A3CF79
accent
#EB3D90
background
#FAF6FD
surface
#F5ECFB
border
#CFC7D4
text
#110715
muted
#807A83