#7C52ED#7C52ED
#7C52ED is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.221 H 290.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52ED |
|---|---|
| RGB | rgb(124, 82, 237) |
| HSL | hsl(256, 81%, 63%) |
| HSV | hsv(256, 65%, 93%) |
| CMYK | cmyk(47.7%, 65.4%, 0%, 7.1%) |
| CIE-LAB | lab(47.54, 53.23, -72.32) |
| CIE-LCH | lch(47.54, 89.80, 306.35°) |
| OKLab | oklab(57.08% 0.0757 -0.2072) |
| OKLCH | oklch(57.08% 0.221 290.1) |
| XYZ | xyz(26.6112, 16.4330, 81.8741) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.48
Light Indigo
#6D5ACF
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.61
Bluish Purple
#703BE7
ΔE00 5.83
Purpleish Blue
#6140EF
ΔE00 5.88
Mediumslateblue
#7B68EE
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52ED #C3ED52
analogous
#5276ED #7C52ED #C952ED
triadic
#7C52ED #ED7C52 #52ED7C
tetradic
#7C52ED #ED5276 #C3ED52 #52EDC9
square
#7C52ED #ED5276 #C3ED52 #52EDC9
split-complementary
#7C52ED #EDC952 #76ED52
monochromatic
#3E13B2 #521BE7 #7C52ED #A689F3 #D0C1F9
Accessibility & contrast
On white
4.90
#7C52ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7C52ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52ED
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52ED | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#577899
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c52ed; /* rgb */ color: rgb(124, 82, 237); /* oklch */ color: oklch(57.1% 0.221 290.1);
Tailwind
colors: {
custom: {
50: '#aa85f4',
500: '#7c52ed',
950: '#000000',
},
}SCSS
$custom: #7c52ed; $custom-light: #aa85f4; $custom-dark: #000000;
JSON
{
"hex": "#7c52ed",
"rgb": {
"r": 124,
"g": 82,
"b": 237
},
"hsl": {
"h": 256.258,
"s": 81.152,
"l": 62.549
},
"oklch": {
"l": 0.57075,
"c": 0.2206,
"h": 290.1
},
"luminance": 0.16434
}Semantic roles & 50–950 ramp
primary
#7C52ED
secondary
#DAEAB1
accent
#DE08A4
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85