#7E5EF3#7E5EF3
#7E5EF3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.213 H 288.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5EF3 |
|---|---|
| RGB | rgb(126, 94, 243) |
| HSL | hsl(253, 86%, 66%) |
| HSV | hsv(253, 61%, 95%) |
| CMYK | cmyk(48.1%, 61.3%, 0%, 4.7%) |
| CIE-LAB | lab(50.58, 48.76, -70.73) |
| CIE-LCH | lch(50.58, 85.91, 304.58°) |
| OKLab | oklab(59.46% 0.0659 -0.2025) |
| OKLCH | oklch(59.46% 0.213 288) |
| XYZ | xyz(28.7799, 18.9108, 86.9104) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.86
Purpley
#8756E4
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 6.02
Dark Periwinkle
#665FD1
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.52
Lighter Purple
#A55AF4
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5EF3 #D3F35E
analogous
#5E88F3 #7E5EF3 #C85EF3
triadic
#7E5EF3 #F37E5E #5EF37E
tetradic
#7E5EF3 #F35E88 #D3F35E #5EF3C8
square
#7E5EF3 #F35E88 #D3F35E #5EF3C8
split-complementary
#7E5EF3 #F3C85E #88F35E
monochromatic
#370FC8 #5025EF #7E5EF3 #AC97F7 #D9D0FB
Accessibility & contrast
On white
4.39
#7E5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7E5EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5EF3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5EF3 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5681A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5ef3; /* rgb */ color: rgb(126, 94, 243); /* oklch */ color: oklch(59.5% 0.213 288.0);
Tailwind
colors: {
custom: {
50: '#ac8df8',
500: '#7e5ef3',
950: '#000000',
},
}SCSS
$custom: #7e5ef3; $custom-light: #ac8df8; $custom-dark: #000000;
JSON
{
"hex": "#7e5ef3",
"rgb": {
"r": 126,
"g": 94,
"b": 243
},
"hsl": {
"h": 252.886,
"s": 86.127,
"l": 66.078
},
"oklch": {
"l": 0.59463,
"c": 0.2129,
"h": 288
},
"luminance": 0.18912
}Semantic roles & 50–950 ramp
primary
#7E5EF3
secondary
#E4EFBE
accent
#E303B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85