#7E59EF#7E59EF
#7E59EF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.214 H 289.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E59EF |
|---|---|
| RGB | rgb(126, 89, 239) |
| HSL | hsl(255, 82%, 64%) |
| HSV | hsv(255, 63%, 94%) |
| CMYK | cmyk(47.3%, 62.8%, 0%, 6.3%) |
| CIE-LAB | lab(49.27, 50.39, -70.62) |
| CIE-LCH | lch(49.27, 86.76, 305.51°) |
| OKLab | oklab(58.42% 0.0712 -0.2022) |
| OKLCH | oklch(58.42% 0.214 289.4) |
| XYZ | xyz(27.7521, 17.8113, 83.6203) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.40
Mediumslateblue
#7B68EE
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 6.08
Lighter Purple
#A55AF4
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E59EF #CAEF59
analogous
#597FEF #7E59EF #C959EF
triadic
#7E59EF #EF7E59 #59EF7E
tetradic
#7E59EF #EF597F #CAEF59 #59EFC9
square
#7E59EF #EF597F #CAEF59 #59EFC9
split-complementary
#7E59EF #EFC959 #7FEF59
monochromatic
#3C12BC #5321EA #7E59EF #A991F4 #D5C9FA
Accessibility & contrast
On white
4.60
#7E59EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7E59EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E59EF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E59EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E59EF | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#597D9C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e59ef; /* rgb */ color: rgb(126, 89, 239); /* oklch */ color: oklch(58.4% 0.214 289.4);
Tailwind
colors: {
custom: {
50: '#ab8af5',
500: '#7e59ef',
950: '#000000',
},
}SCSS
$custom: #7e59ef; $custom-light: #ab8af5; $custom-dark: #000000;
JSON
{
"hex": "#7e59ef",
"rgb": {
"r": 126,
"g": 89,
"b": 239
},
"hsl": {
"h": 254.8,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.58416,
"c": 0.21434,
"h": 289.4
},
"luminance": 0.17812
}Semantic roles & 50–950 ramp
primary
#7E59EF
secondary
#DFECB8
accent
#DF07AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85