#7E4FD4#7E4FD4
#7E4FD4 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.195 H 295.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FD4 |
|---|---|
| RGB | rgb(126, 79, 212) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 63%, 83%) |
| CMYK | cmyk(40.6%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(45.33, 48.48, -61.70) |
| CIE-LCH | lch(45.33, 78.47, 308.16°) |
| OKLab | oklab(54.96% 0.084 -0.1759) |
| OKLCH | oklch(54.96% 0.195 295.5) |
| XYZ | xyz(23.2807, 14.7806, 63.9009) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.49
Light Indigo
#6D5ACF
ΔE00 4.42
Slate Blue
#6A5ACD
ΔE00 4.90
Bluish Purple
#703BE7
ΔE00 5.37
Iris
#6258C4
ΔE00 6.18
Bluey Purple
#6241C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FD4 #A5D44F
analogous
#4F63D4 #7E4FD4 #C14FD4
triadic
#7E4FD4 #D47E4F #4FD47E
tetradic
#7E4FD4 #D44F63 #A5D44F #4FD4C1
square
#7E4FD4 #D44F63 #A5D44F #4FD4C1
split-complementary
#7E4FD4 #D4C14F #63D44F
monochromatic
#452187 #5E2DB9 #7E4FD4 #A280E0 #C6B1EC
Accessibility & contrast
On white
5.31
#7E4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7E4FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FD4
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FD4 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#686D8A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e4fd4; /* rgb */ color: rgb(126, 79, 212); /* oklch */ color: oklch(55.0% 0.195 295.5);
Tailwind
colors: {
custom: {
50: '#a983e2',
500: '#7e4fd4',
950: '#000000',
},
}SCSS
$custom: #7e4fd4; $custom-light: #a983e2; $custom-dark: #000000;
JSON
{
"hex": "#7e4fd4",
"rgb": {
"r": 126,
"g": 79,
"b": 212
},
"hsl": {
"h": 261.203,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.54958,
"c": 0.19496,
"h": 295.5
},
"luminance": 0.14781
}Semantic roles & 50–950 ramp
primary
#7E4FD4
secondary
#C7DAA4
accent
#E444AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83