#7B59B3#7B59B3
#7B59B3 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.0% C 0.139 H 299.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59B3 |
|---|---|
| RGB | rgb(123, 89, 179) |
| HSL | hsl(263, 37%, 53%) |
| HSV | hsv(263, 50%, 70%) |
| CMYK | cmyk(31.3%, 50.3%, 0%, 29.8%) |
| CIE-LAB | lab(45.10, 33.43, -42.99) |
| CIE-LCH | lch(45.10, 54.46, 307.87°) |
| OKLab | oklab(54.05% 0.0675 -0.1211) |
| OKLCH | oklch(54.05% 0.139 299.2) |
| XYZ | xyz(19.8755, 14.6102, 44.4120) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.84
Deep Lavender
#8D5EB7
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 6.01
Slate Blue
#6A5ACD
ΔE00 6.16
Iris
#6258C4
ΔE00 6.47
Amethyst
#9B5FC0
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59B3 #91B359
analogous
#5964B3 #7B59B3 #A859B3
triadic
#7B59B3 #B37B59 #59B37B
tetradic
#7B59B3 #B35964 #91B359 #59B3A8
square
#7B59B3 #B35964 #91B359 #59B3A8
split-complementary
#7B59B3 #B3A859 #64B359
monochromatic
#422E64 #5E418E #7B59B3 #9C83C6 #BEADD9
Accessibility & contrast
On white
5.35
#7B59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7B59B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59B3
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59B3 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6BB6
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#6F6A7E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b59b3; /* rgb */ color: rgb(123, 89, 179); /* oklch */ color: oklch(54.0% 0.139 299.2);
Tailwind
colors: {
custom: {
50: '#a489ca',
500: '#7b59b3',
950: '#000000',
},
}SCSS
$custom: #7b59b3; $custom-light: #a489ca; $custom-dark: #000000;
JSON
{
"hex": "#7b59b3",
"rgb": {
"r": 123,
"g": 89,
"b": 179
},
"hsl": {
"h": 262.667,
"s": 37.19,
"l": 52.549
},
"oklch": {
"l": 0.54045,
"c": 0.13864,
"h": 299.2
},
"luminance": 0.1461
}Semantic roles & 50–950 ramp
primary
#7B59B3
secondary
#B9C7A0
accent
#CD5BA2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82