#7E5FEF#7E5FEF
#7E5FEF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.207 H 288.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FEF |
|---|---|
| RGB | rgb(126, 95, 239) |
| HSL | hsl(253, 82%, 65%) |
| HSV | hsv(253, 60%, 94%) |
| CMYK | cmyk(47.3%, 60.3%, 0%, 6.3%) |
| CIE-LAB | lab(50.51, 47.08, -68.60) |
| CIE-LCH | lch(50.51, 83.20, 304.46°) |
| OKLab | oklab(59.32% 0.0651 -0.1962) |
| OKLCH | oklch(59.32% 0.207 288.3) |
| XYZ | xyz(28.2719, 18.8508, 83.7935) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.62
Purpley
#8756E4
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 5.66
Dark Periwinkle
#665FD1
ΔE00 5.97
Slate Blue
#6A5ACD
ΔE00 6.17
Lighter Purple
#A55AF4
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FEF #D0EF5F
analogous
#5F88EF #7E5FEF #C65FEF
triadic
#7E5FEF #EF7E5F #5FEF7E
tetradic
#7E5FEF #EF5F88 #D0EF5F #5FEFC6
square
#7E5FEF #EF5F88 #D0EF5F #5FEFC6
split-complementary
#7E5FEF #EFC65F #88EF5F
monochromatic
#3913C0 #5127E9 #7E5FEF #AB97F5 #D8CEFA
Accessibility & contrast
On white
4.40
#7E5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7E5FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5FEF
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5FEF | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#59809E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5fef; /* rgb */ color: rgb(126, 95, 239); /* oklch */ color: oklch(59.3% 0.207 288.3);
Tailwind
colors: {
custom: {
50: '#ab8ef5',
500: '#7e5fef',
950: '#000000',
},
}SCSS
$custom: #7e5fef; $custom-light: #ab8ef5; $custom-dark: #000000;
JSON
{
"hex": "#7e5fef",
"rgb": {
"r": 126,
"g": 95,
"b": 239
},
"hsl": {
"h": 252.917,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.59323,
"c": 0.20672,
"h": 288.3
},
"luminance": 0.18852
}Semantic roles & 50–950 ramp
primary
#7E5FEF
secondary
#E3EDBD
accent
#DE07B0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85