#7B59E5#7B59E5
#7B59E5 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.202 H 289.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59E5 |
|---|---|
| RGB | rgb(123, 89, 229) |
| HSL | hsl(255, 73%, 62%) |
| HSV | hsv(255, 61%, 90%) |
| CMYK | cmyk(46.3%, 61.1%, 0%, 10.2%) |
| CIE-LAB | lab(48.27, 47.03, -66.62) |
| CIE-LCH | lch(48.27, 81.54, 305.22°) |
| OKLab | oklab(57.4% 0.0681 -0.1905) |
| OKLCH | oklch(57.4% 0.202 289.7) |
| XYZ | xyz(25.8796, 17.0119, 76.0336) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.25
Light Indigo
#6D5ACF
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.49
Mediumslateblue
#7B68EE
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 4.99
Iris
#6258C4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59E5 #C3E559
analogous
#597DE5 #7B59E5 #C159E5
triadic
#7B59E5 #E57B59 #59E57B
tetradic
#7B59E5 #E5597D #C3E559 #59E5C1
square
#7B59E5 #E5597D #C3E559 #59E5C1
split-complementary
#7B59E5 #E5C159 #7DE559
monochromatic
#3D1AA9 #5124DD #7B59E5 #A58EED #CFC3F6
Accessibility & contrast
On white
4.77
#7B59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7B59E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59E5
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59E5 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#597A97
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7b59e5; /* rgb */ color: rgb(123, 89, 229); /* oklch */ color: oklch(57.4% 0.202 289.7);
Tailwind
colors: {
custom: {
50: '#a989ee',
500: '#7b59e5',
950: '#000000',
},
}SCSS
$custom: #7b59e5; $custom-light: #a989ee; $custom-dark: #000000;
JSON
{
"hex": "#7b59e5",
"rgb": {
"r": 123,
"g": 89,
"b": 229
},
"hsl": {
"h": 254.571,
"s": 72.917,
"l": 62.353
},
"oklch": {
"l": 0.57404,
"c": 0.20228,
"h": 289.7
},
"luminance": 0.17013
}Semantic roles & 50–950 ramp
primary
#7B59E5
secondary
#DAE6B3
accent
#D510A5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84