#7B59BE#7B59BE
#7B59BE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.153 H 296.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59BE |
|---|---|
| RGB | rgb(123, 89, 190) |
| HSL | hsl(260, 44%, 55%) |
| HSV | hsv(260, 53%, 75%) |
| CMYK | cmyk(35.3%, 53.2%, 0%, 25.5%) |
| CIE-LAB | lab(45.73, 36.33, -48.38) |
| CIE-LCH | lch(45.73, 60.50, 306.91°) |
| OKLab | oklab(54.73% 0.0684 -0.1369) |
| OKLCH | oklch(54.73% 0.153 296.5) |
| XYZ | xyz(21.0327, 15.0731, 50.5065) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.25
Light Indigo
#6D5ACF
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.56
Deep Lavender
#8D5EB7
ΔE00 4.85
Iris
#6258C4
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59BE #9CBE59
analogous
#596ABE #7B59BE #AE59BE
triadic
#7B59BE #BE7B59 #59BE7B
tetradic
#7B59BE #BE596A #9CBE59 #59BEAE
square
#7B59BE #BE596A #9CBE59 #59BEAE
split-complementary
#7B59BE #BEAE59 #6ABE59
monochromatic
#432C71 #5D3D9D #7B59BE #9E85CF #C1B1E0
Accessibility & contrast
On white
5.23
#7B59BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7B59BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59BE
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59BE | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306DC1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#6C6D83
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7b59be; /* rgb */ color: rgb(123, 89, 190); /* oklch */ color: oklch(54.7% 0.153 296.5);
Tailwind
colors: {
custom: {
50: '#a589d2',
500: '#7b59be',
950: '#000000',
},
}SCSS
$custom: #7b59be; $custom-light: #a589d2; $custom-dark: #000000;
JSON
{
"hex": "#7b59be",
"rgb": {
"r": 123,
"g": 89,
"b": 190
},
"hsl": {
"h": 260.198,
"s": 43.723,
"l": 54.706
},
"oklch": {
"l": 0.54726,
"c": 0.15301,
"h": 296.5
},
"luminance": 0.15073
}Semantic roles & 50–950 ramp
primary
#7B59BE
secondary
#C0CFA4
accent
#D354A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83