#7C52EF#7C52EF
#7C52EF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.223 H 289.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52EF |
|---|---|
| RGB | rgb(124, 82, 239) |
| HSL | hsl(256, 83%, 63%) |
| HSV | hsv(256, 66%, 94%) |
| CMYK | cmyk(48.1%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(47.69, 53.78, -73.20) |
| CIE-LCH | lch(47.69, 90.83, 306.30°) |
| OKLab | oklab(57.23% 0.0754 -0.2098) |
| OKLCH | oklch(57.23% 0.223 289.8) |
| XYZ | xyz(26.9050, 16.5506, 83.4216) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.59
Light Indigo
#6D5ACF
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.79
Bluish Purple
#703BE7
ΔE00 5.93
Purpleish Blue
#6140EF
ΔE00 5.93
Mediumslateblue
#7B68EE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52EF #C5EF52
analogous
#5276EF #7C52EF #CA52EF
triadic
#7C52EF #EF7C52 #52EF7C
tetradic
#7C52EF #EF5276 #C5EF52 #52EFCA
square
#7C52EF #EF5276 #C5EF52 #52EFCA
split-complementary
#7C52EF #EFCA52 #76EF52
monochromatic
#3D11B6 #521AEA #7C52EF #A68AF4 #D1C2F9
Accessibility & contrast
On white
4.87
#7C52EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7C52EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52EF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52EF | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#56799A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c52ef; /* rgb */ color: rgb(124, 82, 239); /* oklch */ color: oklch(57.2% 0.223 289.8);
Tailwind
colors: {
custom: {
50: '#ab85f5',
500: '#7c52ef',
950: '#000000',
},
}SCSS
$custom: #7c52ef; $custom-light: #ab85f5; $custom-dark: #000000;
JSON
{
"hex": "#7c52ef",
"rgb": {
"r": 124,
"g": 82,
"b": 239
},
"hsl": {
"h": 256.051,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.57231,
"c": 0.22294,
"h": 289.8
},
"luminance": 0.16552
}Semantic roles & 50–950 ramp
primary
#7C52EF
secondary
#DCEBB2
accent
#DF06A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85