#7A58CA#7A58CA
#7A58CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.2% C 0.170 H 293.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7A58CA |
|---|---|
| RGB | rgb(122, 88, 202) |
| HSL | hsl(258, 52%, 57%) |
| HSV | hsv(258, 56%, 79%) |
| CMYK | cmyk(39.6%, 56.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.15, 39.91, -54.66) |
| CIE-LCH | lch(46.15, 67.67, 306.13°) |
| OKLab | oklab(55.25% 0.0687 -0.1553) |
| OKLCH | oklch(55.25% 0.17 293.9) |
| XYZ | xyz(22.1736, 15.3808, 57.6662) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 3.32
Purpley
#8756E4
ΔE00 4.28
Iris
#6258C4
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 4.86
Royal Purple
#7851A9
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A58CA #A8CA58
analogous
#586FCA #7A58CA #B358CA
triadic
#7A58CA #CA7A58 #58CA7A
tetradic
#7A58CA #CA586F #A8CA58 #58CAB3
square
#7A58CA #CA586F #A8CA58 #58CAB3
split-complementary
#7A58CA #CAB358 #6FCA58
monochromatic
#42287F #5A37AE #7A58CA #9F86D9 #C4B5E7
Accessibility & contrast
On white
5.15
#7A58CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7A58CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A58CA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A58CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A58CA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#657088
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7a58ca; /* rgb */ color: rgb(122, 88, 202); /* oklch */ color: oklch(55.2% 0.170 293.9);
Tailwind
colors: {
custom: {
50: '#a588db',
500: '#7a58ca',
950: '#000000',
},
}SCSS
$custom: #7a58ca; $custom-light: #a588db; $custom-dark: #000000;
JSON
{
"hex": "#7a58ca",
"rgb": {
"r": 122,
"g": 88,
"b": 202
},
"hsl": {
"h": 257.895,
"s": 51.818,
"l": 56.863
},
"oklch": {
"l": 0.55249,
"c": 0.16985,
"h": 293.9
},
"luminance": 0.15381
}Semantic roles & 50–950 ramp
primary
#7A58CA
secondary
#C8D6A8
accent
#DB4DB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83