#502EE3#502EE3
#502EE3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.250 H 279.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #502EE3 |
|---|---|
| RGB | rgb(80, 46, 227) |
| HSL | hsl(251, 76%, 54%) |
| HSV | hsv(251, 80%, 89%) |
| CMYK | cmyk(64.8%, 79.7%, 0%, 11%) |
| CIE-LAB | lab(36.37, 62.16, -85.13) |
| CIE-LCH | lch(36.37, 105.40, 306.14°) |
| OKLab | oklab(47.95% 0.0431 -0.2458) |
| OKLCH | oklch(47.95% 0.25 279.9) |
| XYZ | xyz(18.1460, 9.2040, 73.4785) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.36
Burple
#6832E3
ΔE00 3.12
Light Royal Blue
#3A2EFE
ΔE00 3.15
Blurple
#5539CC
ΔE00 3.17
Purply Blue
#661AEE
ΔE00 3.33
Purplish Blue
#601EF9
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502EE3 #C1E32E
analogous
#2E66E3 #502EE3 #AA2EE3
triadic
#502EE3 #E3502E #2EE350
tetradic
#502EE3 #E32E66 #C1E32E #2EE3AA
square
#502EE3 #E32E66 #C1E32E #2EE3AA
split-complementary
#502EE3 #E3AA2E #66E32E
monochromatic
#271285 #3719BB #502EE3 #7D64EA #AA9AF1
Accessibility & contrast
On white
7.39
#502EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#502EE3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502EE3
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502EE3 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#004FE0
Tritanopia (blue-blind)
#00668A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #502ee3; /* rgb */ color: rgb(80, 46, 227); /* oklch */ color: oklch(47.9% 0.250 279.9);
Tailwind
colors: {
custom: {
50: '#946ded',
500: '#502ee3',
950: '#000000',
},
}SCSS
$custom: #502ee3; $custom-light: #946ded; $custom-dark: #000000;
JSON
{
"hex": "#502ee3",
"rgb": {
"r": 80,
"g": 46,
"b": 227
},
"hsl": {
"h": 251.271,
"s": 76.371,
"l": 53.529
},
"oklch": {
"l": 0.47947,
"c": 0.24951,
"h": 279.9
},
"luminance": 0.09206
}Semantic roles & 50–950 ramp
primary
#502EE3
secondary
#CFDD90
accent
#F335CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85