#7F52DE#7F52DE
#7F52DE is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.203 H 293.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F52DE |
|---|---|
| RGB | rgb(127, 82, 222) |
| HSL | hsl(259, 68%, 60%) |
| HSV | hsv(259, 63%, 87%) |
| CMYK | cmyk(42.8%, 63.1%, 0%, 12.9%) |
| CIE-LAB | lab(46.74, 49.73, -65.13) |
| CIE-LCH | lch(46.74, 81.94, 307.36°) |
| OKLab | oklab(56.22% 0.0813 -0.186) |
| OKLCH | oklch(56.22% 0.203 293.6) |
| XYZ | xyz(24.9509, 15.8199, 70.8320) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.05
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.88
Bluish Purple
#703BE7
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 6.13
Purpleish Blue
#6140EF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F52DE #B1DE52
analogous
#526BDE #7F52DE #C552DE
triadic
#7F52DE #DE7F52 #52DE7F
tetradic
#7F52DE #DE526B #B1DE52 #52DEC5
square
#7F52DE #DE526B #B1DE52 #52DEC5
split-complementary
#7F52DE #DEC552 #6BDE52
monochromatic
#451D99 #5C27CC #7F52DE #A585E8 #CBB9F2
Accessibility & contrast
On white
5.04
#7F52DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7F52DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F52DE
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F52DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F52DE | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#657291
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f52de; /* rgb */ color: rgb(127, 82, 222); /* oklch */ color: oklch(56.2% 0.203 293.6);
Tailwind
colors: {
custom: {
50: '#ab85e9',
500: '#7f52de',
950: '#000000',
},
}SCSS
$custom: #7f52de; $custom-light: #ab85e9; $custom-dark: #000000;
JSON
{
"hex": "#7f52de",
"rgb": {
"r": 127,
"g": 82,
"b": 222
},
"hsl": {
"h": 259.286,
"s": 67.961,
"l": 59.608
},
"oklch": {
"l": 0.56222,
"c": 0.20296,
"h": 293.6
},
"luminance": 0.15821
}Semantic roles & 50–950 ramp
primary
#7F52DE
secondary
#D0E1AB
accent
#EB3DB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84