#7A50E4#7A50E4
#7A50E4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.212 H 291.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7A50E4 |
|---|---|
| RGB | rgb(122, 80, 228) |
| HSL | hsl(257, 73%, 60%) |
| HSV | hsv(257, 65%, 89%) |
| CMYK | cmyk(46.5%, 64.9%, 0%, 10.6%) |
| CIE-LAB | lab(46.28, 51.47, -69.30) |
| CIE-LCH | lch(46.28, 86.32, 306.60°) |
| OKLab | oklab(55.91% 0.0761 -0.1984) |
| OKLCH | oklch(55.91% 0.212 291) |
| XYZ | xyz(24.8943, 15.4754, 75.0591) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.85
Light Indigo
#6D5ACF
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.88
Bluish Purple
#703BE7
ΔE00 4.94
Purpleish Blue
#6140EF
ΔE00 5.25
Dark Periwinkle
#665FD1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A50E4 #BAE450
analogous
#5070E4 #7A50E4 #C450E4
triadic
#7A50E4 #E47A50 #50E47A
tetradic
#7A50E4 #E45070 #BAE450 #50E4C4
square
#7A50E4 #E45070 #BAE450 #50E4C4
split-complementary
#7A50E4 #E4C450 #70E450
monochromatic
#3F19A1 #5421D6 #7A50E4 #A285EC #CBBAF4
Accessibility & contrast
On white
5.13
#7A50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#7A50E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A50E4
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A50E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A50E4 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#597493
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7a50e4; /* rgb */ color: rgb(122, 80, 228); /* oklch */ color: oklch(55.9% 0.212 291.0);
Tailwind
colors: {
custom: {
50: '#a883ed',
500: '#7a50e4',
950: '#000000',
},
}SCSS
$custom: #7a50e4; $custom-light: #a883ed; $custom-dark: #000000;
JSON
{
"hex": "#7a50e4",
"rgb": {
"r": 122,
"g": 80,
"b": 228
},
"hsl": {
"h": 257.027,
"s": 73.267,
"l": 60.392
},
"oklch": {
"l": 0.55911,
"c": 0.21247,
"h": 291
},
"luminance": 0.15476
}Semantic roles & 50–950 ramp
primary
#7A50E4
secondary
#D4E4AC
accent
#D5109D
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84