#7F52DA#7F52DA
#7F52DA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.198 H 294.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7F52DA |
|---|---|
| RGB | rgb(127, 82, 218) |
| HSL | hsl(260, 65%, 59%) |
| HSV | hsv(260, 62%, 85%) |
| CMYK | cmyk(41.7%, 62.4%, 0%, 14.5%) |
| CIE-LAB | lab(46.46, 48.66, -63.31) |
| CIE-LCH | lch(46.46, 79.85, 307.55°) |
| OKLab | oklab(55.93% 0.0816 -0.1806) |
| OKLCH | oklch(55.93% 0.198 294.3) |
| XYZ | xyz(24.4212, 15.6080, 68.0420) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.36
Light Indigo
#6D5ACF
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.72
Bluish Purple
#703BE7
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 6.11
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F52DA #ADDA52
analogous
#5269DA #7F52DA #C352DA
triadic
#7F52DA #DA7F52 #52DA7F
tetradic
#7F52DA #DA5269 #ADDA52 #52DAC3
square
#7F52DA #DA5269 #ADDA52 #52DAC3
split-complementary
#7F52DA #DAC352 #69DA52
monochromatic
#451F92 #5D2AC5 #7F52DA #A484E5 #CAB7F0
Accessibility & contrast
On white
5.09
#7F52DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#7F52DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F52DA
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F52DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F52DA | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#67718E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7f52da; /* rgb */ color: rgb(127, 82, 218); /* oklch */ color: oklch(55.9% 0.198 294.3);
Tailwind
colors: {
custom: {
50: '#aa85e6',
500: '#7f52da',
950: '#000000',
},
}SCSS
$custom: #7f52da; $custom-light: #aa85e6; $custom-dark: #000000;
JSON
{
"hex": "#7f52da",
"rgb": {
"r": 127,
"g": 82,
"b": 218
},
"hsl": {
"h": 259.853,
"s": 64.762,
"l": 58.824
},
"oklch": {
"l": 0.55929,
"c": 0.1982,
"h": 294.3
},
"luminance": 0.15609
}Semantic roles & 50–950 ramp
primary
#7F52DA
secondary
#CDDFA9
accent
#E840B0
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84