#7F50E4#7F50E4
#7F50E4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.213 H 292.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F50E4 |
|---|---|
| RGB | rgb(127, 80, 228) |
| HSL | hsl(259, 73%, 60%) |
| HSV | hsv(259, 65%, 89%) |
| CMYK | cmyk(44.3%, 64.9%, 0%, 10.6%) |
| CIE-LAB | lab(46.78, 52.40, -68.47) |
| CIE-LCH | lch(46.78, 86.22, 307.43°) |
| OKLab | oklab(56.39% 0.0828 -0.1958) |
| OKLCH | oklch(56.39% 0.213 292.9) |
| XYZ | xyz(25.6208, 15.8500, 75.0932) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.16
Light Indigo
#6D5ACF
ΔE00 4.86
Bluish Purple
#703BE7
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.40
Purpleish Blue
#6140EF
ΔE00 5.90
Dark Periwinkle
#665FD1
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F50E4 #B5E450
analogous
#506BE4 #7F50E4 #C950E4
triadic
#7F50E4 #E47F50 #50E47F
tetradic
#7F50E4 #E4506B #B5E450 #50E4C9
square
#7F50E4 #E4506B #B5E450 #50E4C9
split-complementary
#7F50E4 #E4C950 #6BE450
monochromatic
#4419A1 #5A21D6 #7F50E4 #A685EC #CDBAF4
Accessibility & contrast
On white
5.04
#7F50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7F50E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F50E4
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F50E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F50E4 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#627393
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f50e4; /* rgb */ color: rgb(127, 80, 228); /* oklch */ color: oklch(56.4% 0.213 292.9);
Tailwind
colors: {
custom: {
50: '#ab84ed',
500: '#7f50e4',
950: '#000000',
},
}SCSS
$custom: #7f50e4; $custom-light: #ab84ed; $custom-dark: #000000;
JSON
{
"hex": "#7f50e4",
"rgb": {
"r": 127,
"g": 80,
"b": 228
},
"hsl": {
"h": 259.054,
"s": 73.267,
"l": 60.392
},
"oklch": {
"l": 0.56387,
"c": 0.21256,
"h": 292.9
},
"luminance": 0.15851
}Semantic roles & 50–950 ramp
primary
#7F50E4
secondary
#D2E4AC
accent
#D51097
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84