#7C52E2#7C52E2
#7C52E2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.208 H 291.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52E2 |
|---|---|
| RGB | rgb(124, 82, 226) |
| HSL | hsl(258, 71%, 60%) |
| HSV | hsv(258, 64%, 89%) |
| CMYK | cmyk(45.1%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.72, 50.22, -67.43) |
| CIE-LCH | lch(46.72, 84.08, 306.68°) |
| OKLab | oklab(56.23% 0.0769 -0.1928) |
| OKLCH | oklch(56.23% 0.208 291.7) |
| XYZ | xyz(25.0531, 15.8098, 73.6683) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.30
Light Indigo
#6D5ACF
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.73
Bluish Purple
#703BE7
ΔE00 5.52
Dark Periwinkle
#665FD1
ΔE00 5.85
Purpleish Blue
#6140EF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52E2 #B8E252
analogous
#5270E2 #7C52E2 #C452E2
triadic
#7C52E2 #E27C52 #52E27C
tetradic
#7C52E2 #E25270 #B8E252 #52E2C4
square
#7C52E2 #E25270 #B8E252 #52E2C4
split-complementary
#7C52E2 #E2C452 #70E252
monochromatic
#411B9F #5723D3 #7C52E2 #A486EB #CBBBF4
Accessibility & contrast
On white
5.05
#7C52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7C52E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52E2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52E2 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#5D7493
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c52e2; /* rgb */ color: rgb(124, 82, 226); /* oklch */ color: oklch(56.2% 0.208 291.7);
Tailwind
colors: {
custom: {
50: '#a985ec',
500: '#7c52e2',
950: '#000000',
},
}SCSS
$custom: #7c52e2; $custom-light: #a985ec; $custom-dark: #000000;
JSON
{
"hex": "#7c52e2",
"rgb": {
"r": 124,
"g": 82,
"b": 226
},
"hsl": {
"h": 257.5,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.56233,
"c": 0.20761,
"h": 291.7
},
"luminance": 0.15811
}Semantic roles & 50–950 ramp
primary
#7C52E2
secondary
#D3E3AC
accent
#D3129B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84