#522FE2#522FE2
#522FE2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.247 H 280.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #522FE2 |
|---|---|
| RGB | rgb(82, 47, 226) |
| HSL | hsl(252, 76%, 54%) |
| HSV | hsv(252, 79%, 89%) |
| CMYK | cmyk(63.7%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(36.59, 61.63, -84.20) |
| CIE-LCH | lch(36.59, 104.34, 306.20°) |
| OKLab | oklab(48.11% 0.0457 -0.243) |
| OKLCH | oklch(48.11% 0.247 280.7) |
| XYZ | xyz(18.2193, 9.3164, 72.7749) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.14
Burple
#6832E3
ΔE00 2.89
Blurple
#5539CC
ΔE00 2.99
Light Royal Blue
#3A2EFE
ΔE00 3.28
Purply Blue
#661AEE
ΔE00 3.31
Purplish Blue
#601EF9
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522FE2 #BFE22F
analogous
#2F65E2 #522FE2 #AB2FE2
triadic
#522FE2 #E2522F #2FE252
tetradic
#522FE2 #E22F65 #BFE22F #2FE2AB
square
#522FE2 #E22F65 #BFE22F #2FE2AB
split-complementary
#522FE2 #E2AB2F #65E22F
monochromatic
#291284 #391ABA #522FE2 #7F65E9 #AB9AF1
Accessibility & contrast
On white
7.33
#522FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#522FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522FE2
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522FE2 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004FDF
Tritanopia (blue-blind)
#006689
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #522fe2; /* rgb */ color: rgb(82, 47, 226); /* oklch */ color: oklch(48.1% 0.247 280.7);
Tailwind
colors: {
custom: {
50: '#956eed',
500: '#522fe2',
950: '#000000',
},
}SCSS
$custom: #522fe2; $custom-light: #956eed; $custom-dark: #000000;
JSON
{
"hex": "#522fe2",
"rgb": {
"r": 82,
"g": 47,
"b": 226
},
"hsl": {
"h": 251.732,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.48105,
"c": 0.24729,
"h": 280.7
},
"luminance": 0.09318
}Semantic roles & 50–950 ramp
primary
#522FE2
secondary
#CEDD90
accent
#F236CD
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84