#7D52DE#7D52DE
#7D52DE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.203 H 292.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7D52DE |
|---|---|
| RGB | rgb(125, 82, 222) |
| HSL | hsl(258, 68%, 60%) |
| HSV | hsv(258, 63%, 87%) |
| CMYK | cmyk(43.7%, 63.1%, 0%, 12.9%) |
| CIE-LAB | lab(46.54, 49.33, -65.46) |
| CIE-LCH | lch(46.54, 81.97, 307.00°) |
| OKLab | oklab(56.03% 0.0786 -0.187) |
| OKLCH | oklch(56.03% 0.203 292.8) |
| XYZ | xyz(24.6559, 15.6678, 70.8182) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.32
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.62
Bluish Purple
#703BE7
ΔE00 5.60
Dark Periwinkle
#665FD1
ΔE00 5.88
Purpleish Blue
#6140EF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D52DE #B3DE52
analogous
#526DDE #7D52DE #C352DE
triadic
#7D52DE #DE7D52 #52DE7D
tetradic
#7D52DE #DE526D #B3DE52 #52DEC3
square
#7D52DE #DE526D #B3DE52 #52DEC3
split-complementary
#7D52DE #DEC352 #6DDE52
monochromatic
#431D99 #5A27CC #7D52DE #A485E8 #CAB9F2
Accessibility & contrast
On white
5.08
#7D52DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7D52DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D52DE
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D52DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D52DE | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#617391
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d52de; /* rgb */ color: rgb(125, 82, 222); /* oklch */ color: oklch(56.0% 0.203 292.8);
Tailwind
colors: {
custom: {
50: '#a985e9',
500: '#7d52de',
950: '#000000',
},
}SCSS
$custom: #7d52de; $custom-light: #a985e9; $custom-dark: #000000;
JSON
{
"hex": "#7d52de",
"rgb": {
"r": 125,
"g": 82,
"b": 222
},
"hsl": {
"h": 258.429,
"s": 67.961,
"l": 59.608
},
"oklch": {
"l": 0.56029,
"c": 0.20288,
"h": 292.8
},
"luminance": 0.15668
}Semantic roles & 50–950 ramp
primary
#7D52DE
secondary
#D0E1AB
accent
#EB3DB5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84