#7A50E7#7A50E7
#7A50E7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.216 H 290.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7A50E7 |
|---|---|
| RGB | rgb(122, 80, 231) |
| HSL | hsl(257, 76%, 61%) |
| HSV | hsv(257, 65%, 91%) |
| CMYK | cmyk(47.2%, 65.4%, 0%, 9.4%) |
| CIE-LAB | lab(46.50, 52.29, -70.63) |
| CIE-LCH | lch(46.50, 87.88, 306.51°) |
| OKLab | oklab(56.14% 0.0757 -0.2023) |
| OKLCH | oklch(56.14% 0.216 290.5) |
| XYZ | xyz(25.3144, 15.6435, 77.2715) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 4.60
Bluish Purple
#703BE7
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.10
Purpleish Blue
#6140EF
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A50E7 #BDE750
analogous
#5071E7 #7A50E7 #C550E7
triadic
#7A50E7 #E77A50 #50E77A
tetradic
#7A50E7 #E75071 #BDE750 #50E7C5
square
#7A50E7 #E75071 #BDE750 #50E7C5
split-complementary
#7A50E7 #E7C550 #71E750
monochromatic
#3F17A6 #531EDC #7A50E7 #A386EE #CCBCF6
Accessibility & contrast
On white
5.09
#7A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7A50E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A50E7
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A50E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A50E7 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#577595
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7a50e7; /* rgb */ color: rgb(122, 80, 231); /* oklch */ color: oklch(56.1% 0.216 290.5);
Tailwind
colors: {
custom: {
50: '#a984f0',
500: '#7a50e7',
950: '#000000',
},
}SCSS
$custom: #7a50e7; $custom-light: #a984f0; $custom-dark: #000000;
JSON
{
"hex": "#7a50e7",
"rgb": {
"r": 122,
"g": 80,
"b": 231
},
"hsl": {
"h": 256.689,
"s": 75.879,
"l": 60.98
},
"oklch": {
"l": 0.56143,
"c": 0.216,
"h": 290.5
},
"luminance": 0.15644
}Semantic roles & 50–950 ramp
primary
#7A50E7
secondary
#D6E6AD
accent
#D80DA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85