#7E4FCA#7E4FCA
#7E4FCA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.183 H 297.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FCA |
|---|---|
| RGB | rgb(126, 79, 202) |
| HSL | hsl(263, 54%, 55%) |
| HSV | hsv(263, 61%, 79%) |
| CMYK | cmyk(37.6%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.65, 45.85, -57.06) |
| CIE-LCH | lch(44.65, 73.20, 308.79°) |
| OKLab | oklab(54.24% 0.0847 -0.1623) |
| OKLCH | oklch(54.24% 0.183 297.6) |
| XYZ | xyz(22.0581, 14.2915, 57.4621) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.55
Iris
#6258C4
ΔE00 6.12
Bluey Purple
#6241C7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FCA #9BCA4F
analogous
#4F5DCA #7E4FCA #BC4FCA
triadic
#7E4FCA #CA7E4F #4FCA7E
tetradic
#7E4FCA #CA4F5D #9BCA4F #4FCABC
square
#7E4FCA #CA4F5D #9BCA4F #4FCABC
split-complementary
#7E4FCA #CABC4F #5DCA4F
monochromatic
#45257A #6033A9 #7E4FCA #A07ED8 #C3ADE6
Accessibility & contrast
On white
5.44
#7E4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7E4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FCA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FCA | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1868C7
Tritanopia (blue-blind)
#6C6A85
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7e4fca; /* rgb */ color: rgb(126, 79, 202); /* oklch */ color: oklch(54.2% 0.183 297.6);
Tailwind
colors: {
custom: {
50: '#a882db',
500: '#7e4fca',
950: '#000000',
},
}SCSS
$custom: #7e4fca; $custom-light: #a882db; $custom-dark: #000000;
JSON
{
"hex": "#7e4fca",
"rgb": {
"r": 126,
"g": 79,
"b": 202
},
"hsl": {
"h": 262.927,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.54244,
"c": 0.18303,
"h": 297.6
},
"luminance": 0.14292
}Semantic roles & 50–950 ramp
primary
#7E4FCA
secondary
#C0D4A1
accent
#DD4BA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83