#7E50D4#7E50D4
#7E50D4 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.194 H 295.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50D4 |
|---|---|
| RGB | rgb(126, 80, 212) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 62%, 83%) |
| CMYK | cmyk(40.6%, 62.3%, 0%, 16.9%) |
| CIE-LAB | lab(45.53, 47.94, -61.38) |
| CIE-LCH | lch(45.53, 77.88, 307.99°) |
| OKLab | oklab(55.1% 0.0829 -0.175) |
| OKLCH | oklch(55.1% 0.194 295.4) |
| XYZ | xyz(23.3534, 14.9259, 63.9252) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.33
Light Indigo
#6D5ACF
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.75
Bluish Purple
#703BE7
ΔE00 5.57
Iris
#6258C4
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50D4 #A6D450
analogous
#5064D4 #7E50D4 #C050D4
triadic
#7E50D4 #D47E50 #50D47E
tetradic
#7E50D4 #D45064 #A6D450 #50D4C0
square
#7E50D4 #D45064 #A6D450 #50D4C0
split-complementary
#7E50D4 #D4C050 #64D450
monochromatic
#452188 #5E2EB9 #7E50D4 #A281E0 #C6B2EC
Accessibility & contrast
On white
5.27
#7E50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7E50D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50D4
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50D4 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#686E8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7e50d4; /* rgb */ color: rgb(126, 80, 212); /* oklch */ color: oklch(55.1% 0.194 295.4);
Tailwind
colors: {
custom: {
50: '#a983e2',
500: '#7e50d4',
950: '#000000',
},
}SCSS
$custom: #7e50d4; $custom-light: #a983e2; $custom-dark: #000000;
JSON
{
"hex": "#7e50d4",
"rgb": {
"r": 126,
"g": 80,
"b": 212
},
"hsl": {
"h": 260.909,
"s": 60.55,
"l": 57.255
},
"oklch": {
"l": 0.55103,
"c": 0.19363,
"h": 295.4
},
"luminance": 0.14926
}Semantic roles & 50–950 ramp
primary
#7E50D4
secondary
#C8DBA5
accent
#E444AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83