#7E50D5#7E50D5
#7E50D5 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.195 H 295.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50D5 |
|---|---|
| RGB | rgb(126, 80, 213) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 62%, 84%) |
| CMYK | cmyk(40.8%, 62.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.60, 48.20, -61.84) |
| CIE-LCH | lch(45.60, 78.41, 307.94°) |
| OKLab | oklab(55.18% 0.0829 -0.1763) |
| OKLCH | oklch(55.18% 0.195 295.2) |
| XYZ | xyz(23.4799, 14.9765, 64.5916) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.23
Light Indigo
#6D5ACF
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.75
Bluish Purple
#703BE7
ΔE00 5.52
Iris
#6258C4
ΔE00 6.12
Dark Periwinkle
#665FD1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50D5 #A7D550
analogous
#5065D5 #7E50D5 #C150D5
triadic
#7E50D5 #D57E50 #50D57E
tetradic
#7E50D5 #D55065 #A7D550 #50D5C1
square
#7E50D5 #D55065 #A7D550 #50D5C1
split-complementary
#7E50D5 #D5C150 #65D550
monochromatic
#45218A #5E2DBB #7E50D5 #A281E1 #C7B3ED
Accessibility & contrast
On white
5.26
#7E50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7E50D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50D5
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50D5 | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#676E8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7e50d5; /* rgb */ color: rgb(126, 80, 213); /* oklch */ color: oklch(55.2% 0.195 295.2);
Tailwind
colors: {
custom: {
50: '#a983e3',
500: '#7e50d5',
950: '#000000',
},
}SCSS
$custom: #7e50d5; $custom-light: #a983e3; $custom-dark: #000000;
JSON
{
"hex": "#7e50d5",
"rgb": {
"r": 126,
"g": 80,
"b": 213
},
"hsl": {
"h": 260.752,
"s": 61.29,
"l": 57.451
},
"oklch": {
"l": 0.55176,
"c": 0.19482,
"h": 295.2
},
"luminance": 0.14977
}Semantic roles & 50–950 ramp
primary
#7E50D5
secondary
#C9DBA6
accent
#E443AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84