#7A52EC#7A52EC
#7A52EC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.219 H 289.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7A52EC |
|---|---|
| RGB | rgb(122, 82, 236) |
| HSL | hsl(256, 80%, 62%) |
| HSV | hsv(256, 65%, 93%) |
| CMYK | cmyk(48.3%, 65.3%, 0%, 7.5%) |
| CIE-LAB | lab(47.27, 52.60, -72.20) |
| CIE-LCH | lch(47.27, 89.33, 306.07°) |
| OKLab | oklab(56.81% 0.0731 -0.2069) |
| OKLCH | oklch(56.81% 0.219 289.5) |
| XYZ | xyz(26.1793, 16.2272, 81.0934) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.71
Light Indigo
#6D5ACF
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.34
Purpleish Blue
#6140EF
ΔE00 5.64
Bluish Purple
#703BE7
ΔE00 5.66
Dark Periwinkle
#665FD1
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A52EC #C4EC52
analogous
#5277EC #7A52EC #C752EC
triadic
#7A52EC #EC7A52 #52EC7A
tetradic
#7A52EC #EC5277 #C4EC52 #52ECC7
square
#7A52EC #EC5277 #C4EC52 #52ECC7
split-complementary
#7A52EC #ECC752 #77EC52
monochromatic
#3C13B0 #501BE6 #7A52EC #A489F2 #CFC0F8
Accessibility & contrast
On white
4.95
#7A52EC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#7A52EC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A52EC
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A52EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A52EC | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#547898
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7a52ec; /* rgb */ color: rgb(122, 82, 236); /* oklch */ color: oklch(56.8% 0.219 289.5);
Tailwind
colors: {
custom: {
50: '#a985f3',
500: '#7a52ec',
950: '#000000',
},
}SCSS
$custom: #7a52ec; $custom-light: #a985f3; $custom-dark: #000000;
JSON
{
"hex": "#7a52ec",
"rgb": {
"r": 122,
"g": 82,
"b": 236
},
"hsl": {
"h": 255.584,
"s": 80.208,
"l": 62.353
},
"oklch": {
"l": 0.56814,
"c": 0.21947,
"h": 289.5
},
"luminance": 0.16228
}Semantic roles & 50–950 ramp
primary
#7A52EC
secondary
#DAE9B1
accent
#DD09A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85