#7E59BB#7E59BB
#7E59BB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.150 H 298.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7E59BB |
|---|---|
| RGB | rgb(126, 89, 187) |
| HSL | hsl(263, 42%, 54%) |
| HSV | hsv(263, 52%, 73%) |
| CMYK | cmyk(32.6%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(45.86, 36.31, -46.41) |
| CIE-LCH | lch(45.86, 58.93, 308.04°) |
| OKLab | oklab(54.84% 0.0721 -0.131) |
| OKLCH | oklch(54.84% 0.15 298.8) |
| XYZ | xyz(21.1440, 15.1680, 48.8178) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.81
Deep Lavender
#8D5EB7
ΔE00 4.01
Light Indigo
#6D5ACF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.50
Iris
#6258C4
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E59BB #96BB59
analogous
#5965BB #7E59BB #AF59BB
triadic
#7E59BB #BB7E59 #59BB7E
tetradic
#7E59BB #BB5965 #96BB59 #59BBAF
square
#7E59BB #BB5965 #96BB59 #59BBAF
split-complementary
#7E59BB #BBAF59 #65BB59
monochromatic
#452D6D #603E98 #7E59BB #A084CD #C1B0DF
Accessibility & contrast
On white
5.21
#7E59BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7E59BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E59BB
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E59BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E59BB | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#716C81
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e59bb; /* rgb */ color: rgb(126, 89, 187); /* oklch */ color: oklch(54.8% 0.150 298.8);
Tailwind
colors: {
custom: {
50: '#a689d0',
500: '#7e59bb',
950: '#000000',
},
}SCSS
$custom: #7e59bb; $custom-light: #a689d0; $custom-dark: #000000;
JSON
{
"hex": "#7e59bb",
"rgb": {
"r": 126,
"g": 89,
"b": 187
},
"hsl": {
"h": 262.653,
"s": 41.88,
"l": 54.118
},
"oklch": {
"l": 0.54836,
"c": 0.14952,
"h": 298.8
},
"luminance": 0.15168
}Semantic roles & 50–950 ramp
primary
#7E59BB
secondary
#BDCDA3
accent
#D256A3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82