#7E259E#7E259E
#7E259E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.190 H 315.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E259E |
|---|---|
| RGB | rgb(126, 37, 158) |
| HSL | hsl(284, 62%, 38%) |
| HSV | hsv(284, 77%, 62%) |
| CMYK | cmyk(20.3%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(34.45, 55.33, -47.51) |
| CIE-LCH | lch(34.45, 72.93, 319.34°) |
| OKLab | oklab(45.96% 0.135 -0.134) |
| OKLCH | oklch(45.96% 0.19 315.2) |
| XYZ | xyz(15.4363, 8.2280, 33.1162) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 0.99
Rebeccapurple
#663399
ΔE00 4.99
Darkmagenta
#8B008B
ΔE00 5.33
Purple
#800080
ΔE00 6.33
Barney Purple
#A00498
ΔE00 6.86
Warm Purple
#952E8F
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E259E #459E25
analogous
#41259E #7E259E #9E2581
triadic
#7E259E #9E7E25 #259E7E
tetradic
#7E259E #9E4125 #459E25 #25819E
square
#7E259E #9E4125 #459E25 #25819E
split-complementary
#7E259E #819E25 #259E41
monochromatic
#2F0E3B #56196C #7E259E #A531CF #BB63DA
Accessibility & contrast
On white
7.94
#7E259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#7E259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E259E
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E259E | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#20539B
Tritanopia (blue-blind)
#7B4060
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #7e259e; /* rgb */ color: rgb(126, 37, 158); /* oklch */ color: oklch(46.0% 0.190 315.2);
Tailwind
colors: {
custom: {
50: '#a76abb',
500: '#7e259e',
950: '#000000',
},
}SCSS
$custom: #7e259e; $custom-light: #a76abb; $custom-dark: #000000;
JSON
{
"hex": "#7e259e",
"rgb": {
"r": 126,
"g": 37,
"b": 158
},
"hsl": {
"h": 284.132,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.45961,
"c": 0.19023,
"h": 315.2
},
"luminance": 0.08227
}Semantic roles & 50–950 ramp
primary
#7E259E
secondary
#79C05F
accent
#E5436E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81