#7E50E2#7E50E2
#7E50E2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.210 H 292.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50E2 |
|---|---|
| RGB | rgb(126, 80, 226) |
| HSL | hsl(259, 72%, 60%) |
| HSV | hsv(259, 65%, 89%) |
| CMYK | cmyk(44.2%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.53, 51.67, -67.74) |
| CIE-LCH | lch(46.53, 85.20, 307.34°) |
| OKLab | oklab(56.14% 0.0817 -0.1937) |
| OKLCH | oklch(56.14% 0.21 292.9) |
| XYZ | xyz(25.1965, 15.6632, 73.6325) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.34
Light Indigo
#6D5ACF
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 5.17
Bluish Purple
#703BE7
ΔE00 5.22
Purpleish Blue
#6140EF
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50E2 #B4E250
analogous
#506BE2 #7E50E2 #C750E2
triadic
#7E50E2 #E27E50 #50E27E
tetradic
#7E50E2 #E2506B #B4E250 #50E2C7
square
#7E50E2 #E2506B #B4E250 #50E2C7
split-complementary
#7E50E2 #E2C750 #6BE250
monochromatic
#431A9E #5A23D2 #7E50E2 #A584EB #CBB9F3
Accessibility & contrast
On white
5.08
#7E50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7E50E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50E2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50E2 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#617392
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e50e2; /* rgb */ color: rgb(126, 80, 226); /* oklch */ color: oklch(56.1% 0.210 292.9);
Tailwind
colors: {
custom: {
50: '#ab84ec',
500: '#7e50e2',
950: '#000000',
},
}SCSS
$custom: #7e50e2; $custom-light: #ab84ec; $custom-dark: #000000;
JSON
{
"hex": "#7e50e2",
"rgb": {
"r": 126,
"g": 80,
"b": 226
},
"hsl": {
"h": 258.904,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.56139,
"c": 0.21019,
"h": 292.9
},
"luminance": 0.15664
}Semantic roles & 50–950 ramp
primary
#7E50E2
secondary
#D1E3AB
accent
#EE39B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84