#7E59DF#7E59DF
#7E59DF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.195 H 291.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E59DF |
|---|---|
| RGB | rgb(126, 89, 223) |
| HSL | hsl(257, 68%, 61%) |
| HSV | hsv(257, 60%, 87%) |
| CMYK | cmyk(43.5%, 60.1%, 0%, 12.5%) |
| CIE-LAB | lab(48.14, 45.97, -63.42) |
| CIE-LCH | lch(48.14, 78.33, 305.93°) |
| OKLab | oklab(57.24% 0.0723 -0.181) |
| OKLCH | oklch(57.24% 0.195 291.8) |
| XYZ | xyz(25.4922, 16.9073, 71.7180) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.80
Light Indigo
#6D5ACF
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 4.38
Mediumslateblue
#7B68EE
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.14
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E59DF #BADF59
analogous
#5977DF #7E59DF #C159DF
triadic
#7E59DF #DF7E59 #59DF7E
tetradic
#7E59DF #DF5977 #BADF59 #59DFC1
square
#7E59DF #DF5977 #BADF59 #59DFC1
split-complementary
#7E59DF #DFC159 #77DF59
monochromatic
#421F9F #5729D2 #7E59DF #A68CE9 #CEC0F3
Accessibility & contrast
On white
4.79
#7E59DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#7E59DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E59DF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E59DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E59DF | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#627794
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e59df; /* rgb */ color: rgb(126, 89, 223); /* oklch */ color: oklch(57.2% 0.195 291.8);
Tailwind
colors: {
custom: {
50: '#aa89ea',
500: '#7e59df',
950: '#000000',
},
}SCSS
$custom: #7e59df; $custom-light: #aa89ea; $custom-dark: #000000;
JSON
{
"hex": "#7e59df",
"rgb": {
"r": 126,
"g": 89,
"b": 223
},
"hsl": {
"h": 256.567,
"s": 67.677,
"l": 61.176
},
"oklch": {
"l": 0.57244,
"c": 0.19489,
"h": 291.8
},
"luminance": 0.16908
}Semantic roles & 50–950 ramp
primary
#7E59DF
secondary
#D5E3B1
accent
#D0169C
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84