#7E50D2#7E50D2
#7E50D2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.191 H 295.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50D2 |
|---|---|
| RGB | rgb(126, 80, 210) |
| HSL | hsl(261, 59%, 57%) |
| HSV | hsv(261, 62%, 82%) |
| CMYK | cmyk(40%, 61.9%, 0%, 17.6%) |
| CIE-LAB | lab(45.39, 47.41, -60.46) |
| CIE-LCH | lch(45.39, 76.83, 308.10°) |
| OKLab | oklab(54.96% 0.0831 -0.1722) |
| OKLCH | oklch(54.96% 0.191 295.7) |
| XYZ | xyz(23.1027, 14.8256, 62.6047) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.54
Light Indigo
#6D5ACF
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.76
Bluish Purple
#703BE7
ΔE00 5.69
Iris
#6258C4
ΔE00 6.04
Bluey Purple
#6241C7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50D2 #A4D250
analogous
#5063D2 #7E50D2 #BF50D2
triadic
#7E50D2 #D27E50 #50D27E
tetradic
#7E50D2 #D25063 #A4D250 #50D2BF
square
#7E50D2 #D25063 #A4D250 #50D2BF
split-complementary
#7E50D2 #D2BF50 #63D250
monochromatic
#452285 #5F2FB6 #7E50D2 #A281DF #C6B1EB
Accessibility & contrast
On white
5.30
#7E50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7E50D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50D2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50D2 | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#696D8A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e50d2; /* rgb */ color: rgb(126, 80, 210); /* oklch */ color: oklch(55.0% 0.191 295.7);
Tailwind
colors: {
custom: {
50: '#a983e1',
500: '#7e50d2',
950: '#000000',
},
}SCSS
$custom: #7e50d2; $custom-light: #a983e1; $custom-dark: #000000;
JSON
{
"hex": "#7e50d2",
"rgb": {
"r": 126,
"g": 80,
"b": 210
},
"hsl": {
"h": 261.231,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.54959,
"c": 0.19124,
"h": 295.7
},
"luminance": 0.14826
}Semantic roles & 50–950 ramp
primary
#7E50D2
secondary
#C7D9A4
accent
#E246AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83