#7E59F2#7E59F2
#7E59F2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.218 H 289.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E59F2 |
|---|---|
| RGB | rgb(126, 89, 242) |
| HSL | hsl(255, 85%, 65%) |
| HSV | hsv(255, 63%, 95%) |
| CMYK | cmyk(47.9%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(49.48, 51.22, -71.95) |
| CIE-LCH | lch(49.48, 88.32, 305.45°) |
| OKLab | oklab(58.64% 0.071 -0.2061) |
| OKLCH | oklch(58.64% 0.218 289) |
| XYZ | xyz(28.1990, 17.9900, 85.9738) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.69
Mediumslateblue
#7B68EE
ΔE00 4.15
Light Indigo
#6D5ACF
ΔE00 5.63
Slate Blue
#6A5ACD
ΔE00 6.15
Dark Periwinkle
#665FD1
ΔE00 6.33
Lighter Purple
#A55AF4
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E59F2 #CDF259
analogous
#5980F2 #7E59F2 #CB59F2
triadic
#7E59F2 #F27E59 #59F27E
tetradic
#7E59F2 #F25980 #CDF259 #59F2CB
square
#7E59F2 #F25980 #CDF259 #59F2CB
split-complementary
#7E59F2 #F2CB59 #80F259
monochromatic
#3A0FC1 #5220EE #7E59F2 #AA92F6 #D6CBFB
Accessibility & contrast
On white
4.57
#7E59F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7E59F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E59F2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E59F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E59F2 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#577E9E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e59f2; /* rgb */ color: rgb(126, 89, 242); /* oklch */ color: oklch(58.6% 0.218 289.0);
Tailwind
colors: {
custom: {
50: '#ac8af7',
500: '#7e59f2',
950: '#000000',
},
}SCSS
$custom: #7e59f2; $custom-light: #ac8af7; $custom-dark: #000000;
JSON
{
"hex": "#7e59f2",
"rgb": {
"r": 126,
"g": 89,
"b": 242
},
"hsl": {
"h": 254.51,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.58642,
"c": 0.21794,
"h": 289
},
"luminance": 0.17991
}Semantic roles & 50–950 ramp
primary
#7E59F2
secondary
#E1EDB9
accent
#E204AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85