#7E5EF6#7E5EF6
#7E5EF6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.217 H 287.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5EF6 |
|---|---|
| RGB | rgb(126, 94, 246) |
| HSL | hsl(253, 89%, 67%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(48.8%, 61.8%, 0%, 3.5%) |
| CIE-LAB | lab(50.80, 49.60, -72.05) |
| CIE-LCH | lch(50.80, 87.48, 304.54°) |
| OKLab | oklab(59.69% 0.0656 -0.2064) |
| OKLCH | oklch(59.69% 0.217 287.6) |
| XYZ | xyz(29.2366, 19.0935, 89.3158) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.90
Purpley
#8756E4
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 6.37
Dark Periwinkle
#665FD1
ΔE00 6.61
Lighter Purple
#A55AF4
ΔE00 6.75
Slate Blue
#6A5ACD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5EF6 #D6F65E
analogous
#5E8AF6 #7E5EF6 #CA5EF6
triadic
#7E5EF6 #F67E5E #5EF67E
tetradic
#7E5EF6 #F65E8A #D6F65E #5EF6CA
square
#7E5EF6 #F65E8A #D6F65E #5EF6CA
split-complementary
#7E5EF6 #F6CA5E #8AF65E
monochromatic
#340CCE #5024F3 #7E5EF6 #AC98F9 #DBD2FC
Accessibility & contrast
On white
4.36
#7E5EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7E5EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5EF6
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5EF6 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5482A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5ef6; /* rgb */ color: rgb(126, 94, 246); /* oklch */ color: oklch(59.7% 0.217 287.6);
Tailwind
colors: {
custom: {
50: '#ac8dfa',
500: '#7e5ef6',
950: '#000000',
},
}SCSS
$custom: #7e5ef6; $custom-light: #ac8dfa; $custom-dark: #000000;
JSON
{
"hex": "#7e5ef6",
"rgb": {
"r": 126,
"g": 94,
"b": 246
},
"hsl": {
"h": 252.632,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.59686,
"c": 0.21655,
"h": 287.6
},
"luminance": 0.19095
}Semantic roles & 50–950 ramp
primary
#7E5EF6
secondary
#E6F0BF
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85