#7D59EF#7D59EF
#7D59EF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.214 H 289.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D59EF |
|---|---|
| RGB | rgb(125, 89, 239) |
| HSL | hsl(254, 82%, 64%) |
| HSV | hsv(254, 63%, 94%) |
| CMYK | cmyk(47.7%, 62.8%, 0%, 6.3%) |
| CIE-LAB | lab(49.17, 50.20, -70.78) |
| CIE-LCH | lch(49.17, 86.77, 305.35°) |
| OKLab | oklab(58.33% 0.0699 -0.2026) |
| OKLCH | oklch(58.33% 0.214 289) |
| XYZ | xyz(27.6053, 17.7356, 83.6134) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.52
Mediumslateblue
#7B68EE
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.74
Dark Periwinkle
#665FD1
ΔE00 5.97
Lighter Purple
#A55AF4
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D59EF #CBEF59
analogous
#5980EF #7D59EF #C859EF
triadic
#7D59EF #EF7D59 #59EF7D
tetradic
#7D59EF #EF5980 #CBEF59 #59EFC8
square
#7D59EF #EF5980 #CBEF59 #59EFC8
split-complementary
#7D59EF #EFC859 #80EF59
monochromatic
#3B12BC #5121EA #7D59EF #A991F4 #D4C9FA
Accessibility & contrast
On white
4.62
#7D59EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7D59EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D59EF
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D59EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D59EF | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#577D9C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d59ef; /* rgb */ color: rgb(125, 89, 239); /* oklch */ color: oklch(58.3% 0.214 289.0);
Tailwind
colors: {
custom: {
50: '#ab8af5',
500: '#7d59ef',
950: '#000000',
},
}SCSS
$custom: #7d59ef; $custom-light: #ab8af5; $custom-dark: #000000;
JSON
{
"hex": "#7d59ef",
"rgb": {
"r": 125,
"g": 89,
"b": 239
},
"hsl": {
"h": 254.4,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.58327,
"c": 0.21437,
"h": 289
},
"luminance": 0.17737
}Semantic roles & 50–950 ramp
primary
#7D59EF
secondary
#DFECB8
accent
#DF07AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85