#7E50CA#7E50CA
#7E50CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.182 H 297.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50CA |
|---|---|
| RGB | rgb(126, 80, 202) |
| HSL | hsl(263, 54%, 55%) |
| HSV | hsv(263, 60%, 79%) |
| CMYK | cmyk(37.6%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.85, 45.30, -56.73) |
| CIE-LCH | lch(44.85, 72.60, 308.61°) |
| OKLab | oklab(54.39% 0.0835 -0.1613) |
| OKLCH | oklch(54.39% 0.182 297.4) |
| XYZ | xyz(22.1308, 14.4369, 57.4863) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 4.98
Royal Purple
#7851A9
ΔE00 5.53
Iris
#6258C4
ΔE00 6.01
Bluey Purple
#6241C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50CA #9CCA50
analogous
#505FCA #7E50CA #BB50CA
triadic
#7E50CA #CA7E50 #50CA7E
tetradic
#7E50CA #CA505F #9CCA50 #50CABB
square
#7E50CA #CA505F #9CCA50 #50CABB
split-complementary
#7E50CA #CABB50 #5FCA50
monochromatic
#45257A #6033A9 #7E50CA #A17FD8 #C3AEE6
Accessibility & contrast
On white
5.40
#7E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#7E50CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50CA
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50CA | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1B69C7
Tritanopia (blue-blind)
#6C6A85
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7e50ca; /* rgb */ color: rgb(126, 80, 202); /* oklch */ color: oklch(54.4% 0.182 297.4);
Tailwind
colors: {
custom: {
50: '#a883db',
500: '#7e50ca',
950: '#000000',
},
}SCSS
$custom: #7e50ca; $custom-light: #a883db; $custom-dark: #000000;
JSON
{
"hex": "#7e50ca",
"rgb": {
"r": 126,
"g": 80,
"b": 202
},
"hsl": {
"h": 262.623,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.54393,
"c": 0.18163,
"h": 297.4
},
"luminance": 0.14437
}Semantic roles & 50–950 ramp
primary
#7E50CA
secondary
#C1D4A1
accent
#DD4BA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83