#7E50E6#7E50E6
#7E50E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.215 H 292.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50E6 |
|---|---|
| RGB | rgb(126, 80, 230) |
| HSL | hsl(258, 75%, 61%) |
| HSV | hsv(258, 65%, 90%) |
| CMYK | cmyk(45.2%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(46.82, 52.75, -69.53) |
| CIE-LCH | lch(46.82, 87.27, 307.19°) |
| OKLab | oklab(56.44% 0.0812 -0.1989) |
| OKLCH | oklch(56.44% 0.215 292.2) |
| XYZ | xyz(25.7518, 15.8853, 76.5569) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.28
Light Indigo
#6D5ACF
ΔE00 4.88
Bluish Purple
#703BE7
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.41
Purpleish Blue
#6140EF
ΔE00 5.74
Dark Periwinkle
#665FD1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50E6 #B8E650
analogous
#506DE6 #7E50E6 #C950E6
triadic
#7E50E6 #E67E50 #50E67E
tetradic
#7E50E6 #E6506D #B8E650 #50E6C9
square
#7E50E6 #E6506D #B8E650 #50E6C9
split-complementary
#7E50E6 #E6C950 #6DE650
monochromatic
#4317A4 #581FDA #7E50E6 #A586EE #CDBBF5
Accessibility & contrast
On white
5.03
#7E50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7E50E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50E6
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50E6 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#5F7494
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7e50e6; /* rgb */ color: rgb(126, 80, 230); /* oklch */ color: oklch(56.4% 0.215 292.2);
Tailwind
colors: {
custom: {
50: '#ab84ef',
500: '#7e50e6',
950: '#000000',
},
}SCSS
$custom: #7e50e6; $custom-light: #ab84ef; $custom-dark: #000000;
JSON
{
"hex": "#7e50e6",
"rgb": {
"r": 126,
"g": 80,
"b": 230
},
"hsl": {
"h": 258.4,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.56443,
"c": 0.21486,
"h": 292.2
},
"luminance": 0.15886
}Semantic roles & 50–950 ramp
primary
#7E50E6
secondary
#D4E5AC
accent
#D70E9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85