#7E52EF#7E52EF
#7E52EF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.223 H 290.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E52EF |
|---|---|
| RGB | rgb(126, 82, 239) |
| HSL | hsl(257, 83%, 63%) |
| HSV | hsv(257, 66%, 94%) |
| CMYK | cmyk(47.3%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(47.88, 54.13, -72.88) |
| CIE-LCH | lch(47.88, 90.78, 306.60°) |
| OKLab | oklab(57.42% 0.0781 -0.2088) |
| OKLCH | oklch(57.42% 0.223 290.5) |
| XYZ | xyz(27.1970, 16.7012, 83.4353) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.34
Light Indigo
#6D5ACF
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.97
Mediumslateblue
#7B68EE
ΔE00 5.97
Bluish Purple
#703BE7
ΔE00 6.07
Purpleish Blue
#6140EF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E52EF #C3EF52
analogous
#5274EF #7E52EF #CC52EF
triadic
#7E52EF #EF7E52 #52EF7E
tetradic
#7E52EF #EF5274 #C3EF52 #52EFCC
square
#7E52EF #EF5274 #C3EF52 #52EFCC
split-complementary
#7E52EF #EFCC52 #74EF52
monochromatic
#3F11B6 #541AEA #7E52EF #A88AF4 #D2C2F9
Accessibility & contrast
On white
4.84
#7E52EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7E52EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E52EF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E52EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E52EF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#5A799A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e52ef; /* rgb */ color: rgb(126, 82, 239); /* oklch */ color: oklch(57.4% 0.223 290.5);
Tailwind
colors: {
custom: {
50: '#ac85f5',
500: '#7e52ef',
950: '#000000',
},
}SCSS
$custom: #7e52ef; $custom-light: #ac85f5; $custom-dark: #000000;
JSON
{
"hex": "#7e52ef",
"rgb": {
"r": 126,
"g": 82,
"b": 239
},
"hsl": {
"h": 256.815,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.57415,
"c": 0.22291,
"h": 290.5
},
"luminance": 0.16702
}Semantic roles & 50–950 ramp
primary
#7E52EF
secondary
#DBEBB2
accent
#DF06A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85