#7E4CF5#7E4CF5
#7E4CF5 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.237 H 290.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4CF5 |
|---|---|
| RGB | rgb(126, 76, 245) |
| HSL | hsl(258, 89%, 63%) |
| HSV | hsv(258, 69%, 96%) |
| CMYK | cmyk(48.6%, 69%, 0%, 3.9%) |
| CIE-LAB | lab(47.23, 58.82, -77.30) |
| CIE-LCH | lch(47.23, 97.14, 307.27°) |
| OKLab | oklab(57.09% 0.0827 -0.2218) |
| OKLCH | oklch(57.09% 0.237 290.4) |
| XYZ | xyz(27.6654, 16.1960, 88.0369) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.39
Bluish Purple
#703BE7
ΔE00 5.19
Purpleish Blue
#6140EF
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 6.40
Blueviolet
#8A2BE2
ΔE00 6.81
Slate Blue
#6A5ACD
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4CF5 #C3F54C
analogous
#4C6FF5 #7E4CF5 #D24CF5
triadic
#7E4CF5 #F57E4C #4CF57E
tetradic
#7E4CF5 #F54C6F #C3F54C #4CF5D2
square
#7E4CF5 #F54C6F #C3F54C #4CF5D2
split-complementary
#7E4CF5 #F5D24C #6FF54C
monochromatic
#3F0BBC #5412F2 #7E4CF5 #A886F8 #D2C0FB
Accessibility & contrast
On white
4.95
#7E4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7E4CF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4CF5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4CF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4CF5 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#56779B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e4cf5; /* rgb */ color: rgb(126, 76, 245); /* oklch */ color: oklch(57.1% 0.237 290.4);
Tailwind
colors: {
custom: {
50: '#ad82fa',
500: '#7e4cf5',
950: '#000000',
},
}SCSS
$custom: #7e4cf5; $custom-light: #ad82fa; $custom-dark: #000000;
JSON
{
"hex": "#7e4cf5",
"rgb": {
"r": 126,
"g": 76,
"b": 245
},
"hsl": {
"h": 257.751,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.57094,
"c": 0.23668,
"h": 290.4
},
"luminance": 0.16197
}Semantic roles & 50–950 ramp
primary
#7E4CF5
secondary
#DBEDB0
accent
#E600A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85