#7B59DB#7B59DB
#7B59DB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.190 H 291.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59DB |
|---|---|
| RGB | rgb(123, 89, 219) |
| HSL | hsl(256, 64%, 60%) |
| HSV | hsv(256, 59%, 86%) |
| CMYK | cmyk(43.8%, 59.4%, 0%, 14.1%) |
| CIE-LAB | lab(47.58, 44.24, -62.07) |
| CIE-LCH | lch(47.58, 76.22, 305.48°) |
| OKLab | oklab(56.68% 0.0686 -0.1771) |
| OKLCH | oklch(56.68% 0.19 291.2) |
| XYZ | xyz(24.5234, 16.4694, 68.8909) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.47
Light Indigo
#6D5ACF
ΔE00 3.04
Slate Blue
#6A5ACD
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 5.39
Iris
#6258C4
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59DB #B9DB59
analogous
#5978DB #7B59DB #BC59DB
triadic
#7B59DB #DB7B59 #59DB7B
tetradic
#7B59DB #DB5978 #B9DB59 #59DBBC
square
#7B59DB #DB5978 #B9DB59 #59DBBC
split-complementary
#7B59DB #DBBC59 #78DB59
monochromatic
#402199 #562CCB #7B59DB #A38BE6 #CBBEF1
Accessibility & contrast
On white
4.89
#7B59DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7B59DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59DB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59DB | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#5F7691
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7b59db; /* rgb */ color: rgb(123, 89, 219); /* oklch */ color: oklch(56.7% 0.190 291.2);
Tailwind
colors: {
custom: {
50: '#a789e7',
500: '#7b59db',
950: '#000000',
},
}SCSS
$custom: #7b59db; $custom-light: #a789e7; $custom-dark: #000000;
JSON
{
"hex": "#7b59db",
"rgb": {
"r": 123,
"g": 89,
"b": 219
},
"hsl": {
"h": 255.692,
"s": 64.356,
"l": 60.392
},
"oklch": {
"l": 0.56681,
"c": 0.18991,
"h": 291.2
},
"luminance": 0.1647
}Semantic roles & 50–950 ramp
primary
#7B59DB
secondary
#D4E1AF
accent
#CC199D
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84