#7D52F9#7D52F9
#7D52F9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.234 H 288.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7D52F9 |
|---|---|
| RGB | rgb(125, 82, 249) |
| HSL | hsl(255, 93%, 65%) |
| HSV | hsv(255, 67%, 98%) |
| CMYK | cmyk(49.8%, 67.1%, 0%, 2.4%) |
| CIE-LAB | lab(48.55, 56.69, -77.39) |
| CIE-LCH | lch(48.55, 95.93, 306.22°) |
| OKLab | oklab(58.11% 0.0754 -0.2221) |
| OKLCH | oklch(58.11% 0.235 288.7) |
| XYZ | xyz(28.5687, 17.2328, 91.4251) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.27
Mediumslateblue
#7B68EE
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 6.34
Purpleish Blue
#6140EF
ΔE00 6.47
Bluish Purple
#703BE7
ΔE00 6.63
Slate Blue
#6A5ACD
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D52F9 #CEF952
analogous
#527BF9 #7D52F9 #D052F9
triadic
#7D52F9 #F97D52 #52F97D
tetradic
#7D52F9 #F9527B #CEF952 #52F9D0
square
#7D52F9 #F9527B #CEF952 #52F9D0
split-complementary
#7D52F9 #F9D052 #7BF952
monochromatic
#3907CA #5117F7 #7D52F9 #A98DFB #D6C8FD
Accessibility & contrast
On white
4.72
#7D52F9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7D52F9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D52F9
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D52F9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D52F9 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#517C9F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d52f9; /* rgb */ color: rgb(125, 82, 249); /* oklch */ color: oklch(58.1% 0.234 288.7);
Tailwind
colors: {
custom: {
50: '#ad85fc',
500: '#7d52f9',
950: '#000000',
},
}SCSS
$custom: #7d52f9; $custom-light: #ad85fc; $custom-dark: #000000;
JSON
{
"hex": "#7d52f9",
"rgb": {
"r": 125,
"g": 82,
"b": 249
},
"hsl": {
"h": 255.449,
"s": 93.296,
"l": 64.902
},
"oklch": {
"l": 0.58113,
"c": 0.2345,
"h": 288.7
},
"luminance": 0.17234
}Semantic roles & 50–950 ramp
primary
#7D52F9
secondary
#E1F0B7
accent
#E600AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86