#7A58B2#7A58B2
#7A58B2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.7% C 0.139 H 299.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7A58B2 |
|---|---|
| RGB | rgb(122, 88, 178) |
| HSL | hsl(263, 37%, 52%) |
| HSV | hsv(263, 51%, 70%) |
| CMYK | cmyk(31.5%, 50.6%, 0%, 30.2%) |
| CIE-LAB | lab(44.70, 33.49, -43.03) |
| CIE-LCH | lch(44.70, 54.53, 307.89°) |
| OKLab | oklab(53.71% 0.0675 -0.1212) |
| OKLCH | oklch(53.71% 0.139 299.1) |
| XYZ | xyz(19.5497, 14.3312, 43.8471) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.52
Deep Lavender
#8D5EB7
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 6.06
Slate Blue
#6A5ACD
ΔE00 6.18
Iris
#6258C4
ΔE00 6.40
Amethyst
#9B5FC0
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A58B2 #90B258
analogous
#5863B2 #7A58B2 #A758B2
triadic
#7A58B2 #B27A58 #58B27A
tetradic
#7A58B2 #B25863 #90B258 #58B2A7
square
#7A58B2 #B25863 #90B258 #58B2A7
split-complementary
#7A58B2 #B2A758 #63B258
monochromatic
#412D62 #5D418C #7A58B2 #9B82C5 #BDACD9
Accessibility & contrast
On white
5.43
#7A58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7A58B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A58B2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A58B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A58B2 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#6E697D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a58b2; /* rgb */ color: rgb(122, 88, 178); /* oklch */ color: oklch(53.7% 0.139 299.1);
Tailwind
colors: {
custom: {
50: '#a388c9',
500: '#7a58b2',
950: '#000000',
},
}SCSS
$custom: #7a58b2; $custom-light: #a388c9; $custom-dark: #000000;
JSON
{
"hex": "#7a58b2",
"rgb": {
"r": 122,
"g": 88,
"b": 178
},
"hsl": {
"h": 262.667,
"s": 36.885,
"l": 52.157
},
"oklch": {
"l": 0.53711,
"c": 0.13876,
"h": 299.1
},
"luminance": 0.14331
}Semantic roles & 50–950 ramp
primary
#7A58B2
secondary
#B8C79F
accent
#CD5BA2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82