#7A58CB#7A58CB
#7A58CB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.171 H 293.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7A58CB |
|---|---|
| RGB | rgb(122, 88, 203) |
| HSL | hsl(258, 53%, 57%) |
| HSV | hsv(258, 57%, 80%) |
| CMYK | cmyk(39.9%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(46.22, 40.18, -55.13) |
| CIE-LCH | lch(46.22, 68.22, 306.09°) |
| OKLab | oklab(55.32% 0.0687 -0.1567) |
| OKLCH | oklch(55.32% 0.171 293.7) |
| XYZ | xyz(22.2924, 15.4283, 58.2918) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.79
Slate Blue
#6A5ACD
ΔE00 3.27
Purpley
#8756E4
ΔE00 4.15
Iris
#6258C4
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 4.80
Royal Purple
#7851A9
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A58CB #A9CB58
analogous
#5870CB #7A58CB #B358CB
triadic
#7A58CB #CB7A58 #58CB7A
tetradic
#7A58CB #CB5870 #A9CB58 #58CBB3
square
#7A58CB #CB5870 #A9CB58 #58CBB3
split-complementary
#7A58CB #CBB358 #70CB58
monochromatic
#422881 #5A37AF #7A58CB #9F87DA #C4B5E8
Accessibility & contrast
On white
5.14
#7A58CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7A58CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A58CB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A58CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A58CB | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#657189
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7a58cb; /* rgb */ color: rgb(122, 88, 203); /* oklch */ color: oklch(55.3% 0.171 293.7);
Tailwind
colors: {
custom: {
50: '#a588db',
500: '#7a58cb',
950: '#000000',
},
}SCSS
$custom: #7a58cb; $custom-light: #a588db; $custom-dark: #000000;
JSON
{
"hex": "#7a58cb",
"rgb": {
"r": 122,
"g": 88,
"b": 203
},
"hsl": {
"h": 257.739,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.55317,
"c": 0.17112,
"h": 293.7
},
"luminance": 0.15429
}Semantic roles & 50–950 ramp
primary
#7A58CB
secondary
#C9D7A8
accent
#DC4CB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83