#7E50D7#7E50D7
#7E50D7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.197 H 294.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50D7 |
|---|---|
| RGB | rgb(126, 80, 215) |
| HSL | hsl(260, 63%, 58%) |
| HSV | hsv(260, 63%, 84%) |
| CMYK | cmyk(41.4%, 62.8%, 0%, 15.7%) |
| CIE-LAB | lab(45.74, 48.73, -62.76) |
| CIE-LCH | lch(45.74, 79.46, 307.83°) |
| OKLab | oklab(55.32% 0.0827 -0.179) |
| OKLCH | oklch(55.32% 0.197 294.8) |
| XYZ | xyz(23.7353, 15.0787, 65.9367) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 5.43
Iris
#6258C4
ΔE00 6.18
Purpleish Blue
#6140EF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50D7 #A9D750
analogous
#5066D7 #7E50D7 #C150D7
triadic
#7E50D7 #D77E50 #50D77E
tetradic
#7E50D7 #D75066 #A9D750 #50D7C1
square
#7E50D7 #D75066 #A9D750 #50D7C1
split-complementary
#7E50D7 #D7C150 #66D750
monochromatic
#45208C #5E2BBE #7E50D7 #A382E2 #C7B4EE
Accessibility & contrast
On white
5.23
#7E50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7E50D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50D7
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50D7 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#676F8C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7e50d7; /* rgb */ color: rgb(126, 80, 215); /* oklch */ color: oklch(55.3% 0.197 294.8);
Tailwind
colors: {
custom: {
50: '#a983e4',
500: '#7e50d7',
950: '#000000',
},
}SCSS
$custom: #7e50d7; $custom-light: #a983e4; $custom-dark: #000000;
JSON
{
"hex": "#7e50d7",
"rgb": {
"r": 126,
"g": 80,
"b": 215
},
"hsl": {
"h": 260.444,
"s": 62.791,
"l": 57.843
},
"oklch": {
"l": 0.55321,
"c": 0.1972,
"h": 294.8
},
"luminance": 0.15079
}Semantic roles & 50–950 ramp
primary
#7E50D7
secondary
#CADCA6
accent
#E642AE
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#100B16
muted
#7F7C84