#7E59FE#7E59FE
#7E59FE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.232 H 287.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E59FE |
|---|---|
| RGB | rgb(126, 89, 254) |
| HSL | hsl(253, 99%, 67%) |
| HSV | hsv(253, 65%, 100%) |
| CMYK | cmyk(50.4%, 65%, 0%, 0.4%) |
| CIE-LAB | lab(50.38, 54.56, -77.19) |
| CIE-LCH | lch(50.38, 94.53, 305.25°) |
| OKLab | oklab(59.57% 0.0696 -0.2215) |
| OKLCH | oklch(59.57% 0.232 287.5) |
| XYZ | xyz(30.0607, 18.7347, 95.7789) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.97
Mediumslateblue
#7B68EE
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 6.82
Light Indigo
#6D5ACF
ΔE00 6.99
Dark Periwinkle
#665FD1
ΔE00 7.41
Slate Blue
#6A5ACD
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E59FE #D9FE59
analogous
#5986FE #7E59FE #D159FE
triadic
#7E59FE #FE7E59 #59FE7E
tetradic
#7E59FE #FE5986 #D9FE59 #59FED1
square
#7E59FE #FE5986 #D9FE59 #59FED1
split-complementary
#7E59FE #FED159 #86FE59
monochromatic
#3201DB #4F1CFE #7E59FE #AD96FE #DDD3FF
Accessibility & contrast
On white
4.42
#7E59FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7E59FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E59FE
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E59FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E59FE | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073FB
Tritanopia (blue-blind)
#4E82A4
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e59fe; /* rgb */ color: rgb(126, 89, 254); /* oklch */ color: oklch(59.6% 0.232 287.5);
Tailwind
colors: {
custom: {
50: '#ad8aff',
500: '#7e59fe',
950: '#000000',
},
}SCSS
$custom: #7e59fe; $custom-light: #ad8aff; $custom-dark: #000000;
JSON
{
"hex": "#7e59fe",
"rgb": {
"r": 126,
"g": 89,
"b": 254
},
"hsl": {
"h": 253.455,
"s": 98.802,
"l": 67.255
},
"oklch": {
"l": 0.59566,
"c": 0.23215,
"h": 287.5
},
"luminance": 0.18736
}Semantic roles & 50–950 ramp
primary
#7E59FE
secondary
#E8F3BF
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86