#7E52D9#7E52D9
#7E52D9 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.197 H 294.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E52D9 |
|---|---|
| RGB | rgb(126, 82, 217) |
| HSL | hsl(260, 64%, 59%) |
| HSV | hsv(260, 62%, 85%) |
| CMYK | cmyk(41.9%, 62.2%, 0%, 14.9%) |
| CIE-LAB | lab(46.28, 48.19, -63.02) |
| CIE-LCH | lch(46.28, 79.33, 307.40°) |
| OKLab | oklab(55.76% 0.0804 -0.1798) |
| OKLCH | oklch(55.76% 0.197 294.1) |
| XYZ | xyz(24.1425, 15.4793, 67.3480) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.56
Light Indigo
#6D5ACF
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.55
Bluish Purple
#703BE7
ΔE00 5.78
Dark Periwinkle
#665FD1
ΔE00 5.98
Iris
#6258C4
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E52D9 #ADD952
analogous
#5269D9 #7E52D9 #C252D9
triadic
#7E52D9 #D97E52 #52D97E
tetradic
#7E52D9 #D95269 #ADD952 #52D9C2
square
#7E52D9 #D95269 #ADD952 #52D9C2
split-complementary
#7E52D9 #D9C252 #69D952
monochromatic
#452091 #5C2BC3 #7E52D9 #A384E4 #C9B6EF
Accessibility & contrast
On white
5.13
#7E52D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#7E52D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E52D9
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E52D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E52D9 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#65718E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e52d9; /* rgb */ color: rgb(126, 82, 217); /* oklch */ color: oklch(55.8% 0.197 294.1);
Tailwind
colors: {
custom: {
50: '#aa85e6',
500: '#7e52d9',
950: '#000000',
},
}SCSS
$custom: #7e52d9; $custom-light: #aa85e6; $custom-dark: #000000;
JSON
{
"hex": "#7e52d9",
"rgb": {
"r": 126,
"g": 82,
"b": 217
},
"hsl": {
"h": 259.556,
"s": 63.981,
"l": 58.627
},
"oklch": {
"l": 0.55759,
"c": 0.19695,
"h": 294.1
},
"luminance": 0.1548
}Semantic roles & 50–950 ramp
primary
#7E52D9
secondary
#CDDEA9
accent
#E741B1
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84