#7E59F6#7E59F6
#7E59F6 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.223 H 288.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7E59F6 |
|---|---|
| RGB | rgb(126, 89, 246) |
| HSL | hsl(254, 90%, 66%) |
| HSV | hsv(254, 64%, 96%) |
| CMYK | cmyk(48.8%, 63.8%, 0%, 3.5%) |
| CIE-LAB | lab(49.78, 52.33, -73.71) |
| CIE-LCH | lch(49.78, 90.40, 305.37°) |
| OKLab | oklab(58.95% 0.0706 -0.2112) |
| OKLCH | oklch(58.95% 0.223 288.5) |
| XYZ | xyz(28.8063, 18.2329, 89.1724) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.10
Mediumslateblue
#7B68EE
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 6.08
Slate Blue
#6A5ACD
ΔE00 6.59
Dark Periwinkle
#665FD1
ΔE00 6.67
Lighter Purple
#A55AF4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E59F6 #D1F659
analogous
#5982F6 #7E59F6 #CC59F6
triadic
#7E59F6 #F67E59 #59F67E
tetradic
#7E59F6 #F65982 #D1F659 #59F6CC
square
#7E59F6 #F65982 #D1F659 #59F6CC
split-complementary
#7E59F6 #F6CC59 #82F659
monochromatic
#380BCA #511FF3 #7E59F6 #AB93F9 #D8CDFC
Accessibility & contrast
On white
4.52
#7E59F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7E59F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E59F6
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E59F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E59F6 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#547FA0
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e59f6; /* rgb */ color: rgb(126, 89, 246); /* oklch */ color: oklch(58.9% 0.223 288.5);
Tailwind
colors: {
custom: {
50: '#ac8afa',
500: '#7e59f6',
950: '#000000',
},
}SCSS
$custom: #7e59f6; $custom-light: #ac8afa; $custom-dark: #000000;
JSON
{
"hex": "#7e59f6",
"rgb": {
"r": 126,
"g": 89,
"b": 246
},
"hsl": {
"h": 254.14,
"s": 89.714,
"l": 65.686
},
"oklch": {
"l": 0.58947,
"c": 0.22271,
"h": 288.5
},
"luminance": 0.18234
}Semantic roles & 50–950 ramp
primary
#7E59F6
secondary
#E3F0BB
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85