#7A5CAC#7A5CAC
#7A5CAC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.124 H 299.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5CAC |
|---|---|
| RGB | rgb(122, 92, 172) |
| HSL | hsl(263, 33%, 52%) |
| HSV | hsv(263, 47%, 67%) |
| CMYK | cmyk(29.1%, 46.5%, 0%, 32.5%) |
| CIE-LAB | lab(45.32, 29.57, -38.53) |
| CIE-LCH | lch(45.32, 48.57, 307.50°) |
| OKLab | oklab(54.06% 0.0613 -0.1081) |
| OKLCH | oklch(54.06% 0.124 299.5) |
| XYZ | xyz(19.2978, 14.7703, 40.8560) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.40
Deep Lavender
#8D5EB7
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 7.22
Slate Blue
#6A5ACD
ΔE00 7.29
Amethyst
#9B5FC0
ΔE00 7.37
Iris
#6258C4
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5CAC #8EAC5C
analogous
#5C66AC #7A5CAC #A25CAC
triadic
#7A5CAC #AC7A5C #5CAC7A
tetradic
#7A5CAC #AC5C66 #8EAC5C #5CACA2
square
#7A5CAC #AC5C66 #8EAC5C #5CACA2
split-complementary
#7A5CAC #ACA25C #66AC5C
monochromatic
#41305E #5D4486 #7A5CAC #9B85C1 #BCADD5
Accessibility & contrast
On white
5.31
#7A5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7A5CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5CAC
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5CAC | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#706A7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a5cac; /* rgb */ color: rgb(122, 92, 172); /* oklch */ color: oklch(54.1% 0.124 299.5);
Tailwind
colors: {
custom: {
50: '#a28bc5',
500: '#7a5cac',
950: '#000000',
},
}SCSS
$custom: #7a5cac; $custom-light: #a28bc5; $custom-dark: #000000;
JSON
{
"hex": "#7a5cac",
"rgb": {
"r": 122,
"g": 92,
"b": 172
},
"hsl": {
"h": 262.5,
"s": 32.52,
"l": 51.765
},
"oklch": {
"l": 0.54063,
"c": 0.12426,
"h": 299.5
},
"luminance": 0.1477
}Semantic roles & 50–950 ramp
primary
#7A5CAC
secondary
#B6C3A0
accent
#C95FA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82