#7E4FC8#7E4FC8
#7E4FC8 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.181 H 298.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FC8 |
|---|---|
| RGB | rgb(126, 79, 200) |
| HSL | hsl(263, 52%, 55%) |
| HSV | hsv(263, 61%, 78%) |
| CMYK | cmyk(37%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.51, 45.33, -56.12) |
| CIE-LCH | lch(44.51, 72.14, 308.93°) |
| OKLab | oklab(54.1% 0.0848 -0.1595) |
| OKLCH | oklch(54.1% 0.181 298) |
| XYZ | xyz(21.8229, 14.1974, 56.2230) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.86
Purpley
#8756E4
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 5.24
Royal Purple
#7851A9
ΔE00 5.25
Bluey Purple
#6241C7
ΔE00 6.15
Iris
#6258C4
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FC8 #99C84F
analogous
#4F5CC8 #7E4FC8 #BB4FC8
triadic
#7E4FC8 #C87E4F #4FC87E
tetradic
#7E4FC8 #C84F5C #99C84F #4FC8BB
square
#7E4FC8 #C84F5C #99C84F #4FC8BB
split-complementary
#7E4FC8 #C8BB4F #5CC84F
monochromatic
#452577 #6034A6 #7E4FC8 #A07ED7 #C2ACE5
Accessibility & contrast
On white
5.47
#7E4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7E4FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FC8
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FC8 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#1D68C5
Tritanopia (blue-blind)
#6D6984
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7e4fc8; /* rgb */ color: rgb(126, 79, 200); /* oklch */ color: oklch(54.1% 0.181 298.0);
Tailwind
colors: {
custom: {
50: '#a882d9',
500: '#7e4fc8',
950: '#000000',
},
}SCSS
$custom: #7e4fc8; $custom-light: #a882d9; $custom-dark: #000000;
JSON
{
"hex": "#7e4fc8",
"rgb": {
"r": 126,
"g": 79,
"b": 200
},
"hsl": {
"h": 263.306,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.54104,
"c": 0.18063,
"h": 298
},
"luminance": 0.14198
}Semantic roles & 50–950 ramp
primary
#7E4FC8
secondary
#BFD3A0
accent
#DC4CA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83