#7E26AB#7E26AB
#7E26AB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.201 H 310.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E26AB |
|---|---|
| RGB | rgb(126, 38, 171) |
| HSL | hsl(280, 64%, 41%) |
| HSV | hsv(280, 78%, 67%) |
| CMYK | cmyk(26.3%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(35.52, 57.67, -53.61) |
| CIE-LCH | lch(35.52, 78.73, 317.09°) |
| OKLab | oklab(47.01% 0.1318 -0.1519) |
| OKLCH | oklch(47.01% 0.201 310.9) |
| XYZ | xyz(16.6466, 8.7625, 39.3346) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.75
Rebeccapurple
#663399
ΔE00 5.02
Darkviolet
#9400D3
ΔE00 6.00
Darkmagenta
#8B008B
ΔE00 7.16
Darkorchid
#9932CC
ΔE00 7.17
Purply
#983FB2
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E26AB #53AB26
analogous
#3B26AB #7E26AB #AB2695
triadic
#7E26AB #AB7E26 #26AB7E
tetradic
#7E26AB #AB3B26 #53AB26 #2695AB
square
#7E26AB #AB3B26 #53AB26 #2695AB
split-complementary
#7E26AB #95AB26 #26AB3B
monochromatic
#341047 #591B79 #7E26AB #A03BD3 #B86DDF
Accessibility & contrast
On white
7.63
#7E26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#7E26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E26AB
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E26AB | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0255A8
Tritanopia (blue-blind)
#784668
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7e26ab; /* rgb */ color: rgb(126, 38, 171); /* oklch */ color: oklch(47.0% 0.201 310.9);
Tailwind
colors: {
custom: {
50: '#a86bc5',
500: '#7e26ab',
950: '#000000',
},
}SCSS
$custom: #7e26ab; $custom-light: #a86bc5; $custom-dark: #000000;
JSON
{
"hex": "#7e26ab",
"rgb": {
"r": 126,
"g": 38,
"b": 171
},
"hsl": {
"h": 279.699,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.47013,
"c": 0.20114,
"h": 310.9
},
"luminance": 0.08762
}Semantic roles & 50–950 ramp
primary
#7E26AB
secondary
#87C568
accent
#E74179
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82