#7D52EF#7D52EF
#7D52EF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.223 H 290.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7D52EF |
|---|---|
| RGB | rgb(125, 82, 239) |
| HSL | hsl(256, 83%, 63%) |
| HSV | hsv(256, 66%, 94%) |
| CMYK | cmyk(47.7%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(47.78, 53.95, -73.04) |
| CIE-LCH | lch(47.78, 90.81, 306.45°) |
| OKLab | oklab(57.32% 0.0768 -0.2093) |
| OKLCH | oklch(57.32% 0.223 290.1) |
| XYZ | xyz(27.0503, 16.6255, 83.4284) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.46
Light Indigo
#6D5ACF
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.88
Mediumslateblue
#7B68EE
ΔE00 5.97
Bluish Purple
#703BE7
ΔE00 5.99
Purpleish Blue
#6140EF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D52EF #C4EF52
analogous
#5275EF #7D52EF #CB52EF
triadic
#7D52EF #EF7D52 #52EF7D
tetradic
#7D52EF #EF5275 #C4EF52 #52EFCB
square
#7D52EF #EF5275 #C4EF52 #52EFCB
split-complementary
#7D52EF #EFCB52 #75EF52
monochromatic
#3E11B6 #531AEA #7D52EF #A78AF4 #D1C2F9
Accessibility & contrast
On white
4.86
#7D52EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7D52EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D52EF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D52EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D52EF | 1.00 | 4.86 | 4.33 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#58799A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d52ef; /* rgb */ color: rgb(125, 82, 239); /* oklch */ color: oklch(57.3% 0.223 290.1);
Tailwind
colors: {
custom: {
50: '#ab85f5',
500: '#7d52ef',
950: '#000000',
},
}SCSS
$custom: #7d52ef; $custom-light: #ab85f5; $custom-dark: #000000;
JSON
{
"hex": "#7d52ef",
"rgb": {
"r": 125,
"g": 82,
"b": 239
},
"hsl": {
"h": 256.433,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.57323,
"c": 0.22292,
"h": 290.1
},
"luminance": 0.16627
}Semantic roles & 50–950 ramp
primary
#7D52EF
secondary
#DBEBB2
accent
#DF06A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85