#7E4FD7#7E4FD7
#7E4FD7 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.199 H 295.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FD7 |
|---|---|
| RGB | rgb(126, 79, 215) |
| HSL | hsl(261, 63%, 58%) |
| HSV | hsv(261, 63%, 84%) |
| CMYK | cmyk(41.4%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.54, 49.27, -63.08) |
| CIE-LCH | lch(45.54, 80.04, 307.99°) |
| OKLab | oklab(55.18% 0.0838 -0.18) |
| OKLCH | oklch(55.18% 0.199 295) |
| XYZ | xyz(23.6627, 14.9333, 65.9125) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.21
Light Indigo
#6D5ACF
ΔE00 4.42
Slate Blue
#6A5ACD
ΔE00 4.91
Bluish Purple
#703BE7
ΔE00 5.22
Purpleish Blue
#6140EF
ΔE00 6.17
Iris
#6258C4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FD7 #A8D74F
analogous
#4F64D7 #7E4FD7 #C24FD7
triadic
#7E4FD7 #D77E4F #4FD77E
tetradic
#7E4FD7 #D74F64 #A8D74F #4FD7C2
square
#7E4FD7 #D74F64 #A8D74F #4FD7C2
split-complementary
#7E4FD7 #D7C24F #64D74F
monochromatic
#45208C #5E2BBE #7E4FD7 #A381E2 #C7B3EE
Accessibility & contrast
On white
5.27
#7E4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7E4FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FD7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FD7 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#676E8C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7e4fd7; /* rgb */ color: rgb(126, 79, 215); /* oklch */ color: oklch(55.2% 0.199 295.0);
Tailwind
colors: {
custom: {
50: '#a983e4',
500: '#7e4fd7',
950: '#000000',
},
}SCSS
$custom: #7e4fd7; $custom-light: #a983e4; $custom-dark: #000000;
JSON
{
"hex": "#7e4fd7",
"rgb": {
"r": 126,
"g": 79,
"b": 215
},
"hsl": {
"h": 260.735,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.55177,
"c": 0.19852,
"h": 295
},
"luminance": 0.14934
}Semantic roles & 50–950 ramp
primary
#7E4FD7
secondary
#C9DCA6
accent
#E642AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84