#7B59B2#7B59B2
#7B59B2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.0% C 0.137 H 299.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59B2 |
|---|---|
| RGB | rgb(123, 89, 178) |
| HSL | hsl(263, 37%, 52%) |
| HSV | hsv(263, 50%, 70%) |
| CMYK | cmyk(30.9%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(45.04, 33.17, -42.49) |
| CIE-LCH | lch(45.04, 53.91, 307.98°) |
| OKLab | oklab(53.99% 0.0674 -0.1196) |
| OKLCH | oklch(53.99% 0.137 299.4) |
| XYZ | xyz(19.7747, 14.5699, 43.8813) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.75
Deep Lavender
#8D5EB7
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.33
Iris
#6258C4
ΔE00 6.61
Amethyst
#9B5FC0
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59B2 #90B259
analogous
#5964B2 #7B59B2 #A859B2
triadic
#7B59B2 #B27B59 #59B27B
tetradic
#7B59B2 #B25964 #90B259 #59B2A8
square
#7B59B2 #B25964 #90B259 #59B2A8
split-complementary
#7B59B2 #B2A859 #64B259
monochromatic
#422E63 #5E418D #7B59B2 #9C83C5 #BDADD9
Accessibility & contrast
On white
5.37
#7B59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7B59B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59B2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59B2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#706A7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b59b2; /* rgb */ color: rgb(123, 89, 178); /* oklch */ color: oklch(54.0% 0.137 299.4);
Tailwind
colors: {
custom: {
50: '#a489c9',
500: '#7b59b2',
950: '#000000',
},
}SCSS
$custom: #7b59b2; $custom-light: #a489c9; $custom-dark: #000000;
JSON
{
"hex": "#7b59b2",
"rgb": {
"r": 123,
"g": 89,
"b": 178
},
"hsl": {
"h": 262.921,
"s": 36.626,
"l": 52.353
},
"oklch": {
"l": 0.53985,
"c": 0.13733,
"h": 299.4
},
"luminance": 0.1457
}Semantic roles & 50–950 ramp
primary
#7B59B2
secondary
#B8C7A0
accent
#CD5BA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82