#7B59CA#7B59CA
#7B59CA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.168 H 294.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59CA |
|---|---|
| RGB | rgb(123, 89, 202) |
| HSL | hsl(258, 52%, 57%) |
| HSV | hsv(258, 56%, 79%) |
| CMYK | cmyk(39.1%, 55.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.47, 39.57, -54.14) |
| CIE-LCH | lch(46.47, 67.05, 306.16°) |
| OKLab | oklab(55.51% 0.0688 -0.1538) |
| OKLCH | oklch(55.51% 0.168 294.1) |
| XYZ | xyz(22.3986, 15.6195, 57.7004) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 3.46
Purpley
#8756E4
ΔE00 4.21
Iris
#6258C4
ΔE00 4.88
Dark Periwinkle
#665FD1
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59CA #A8CA59
analogous
#5970CA #7B59CA #B459CA
triadic
#7B59CA #CA7B59 #59CA7B
tetradic
#7B59CA #CA5970 #A8CA59 #59CAB4
square
#7B59CA #CA5970 #A8CA59 #59CAB4
split-complementary
#7B59CA #CAB459 #70CA59
monochromatic
#432980 #5B38AE #7B59CA #A087D9 #C5B6E8
Accessibility & contrast
On white
5.09
#7B59CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#7B59CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59CA
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59CA | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#677189
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b59ca; /* rgb */ color: rgb(123, 89, 202); /* oklch */ color: oklch(55.5% 0.168 294.1);
Tailwind
colors: {
custom: {
50: '#a689db',
500: '#7b59ca',
950: '#000000',
},
}SCSS
$custom: #7b59ca; $custom-light: #a689db; $custom-dark: #000000;
JSON
{
"hex": "#7b59ca",
"rgb": {
"r": 123,
"g": 89,
"b": 202
},
"hsl": {
"h": 258.053,
"s": 51.598,
"l": 57.059
},
"oklch": {
"l": 0.55508,
"c": 0.16846,
"h": 294.1
},
"luminance": 0.1562
}Semantic roles & 50–950 ramp
primary
#7B59CA
secondary
#C9D6A8
accent
#DB4DB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83