#7C4ABA#7C4ABA
#7C4ABA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.171 H 301.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4ABA |
|---|---|
| RGB | rgb(124, 74, 186) |
| HSL | hsl(267, 45%, 51%) |
| HSV | hsv(267, 60%, 73%) |
| CMYK | cmyk(33.3%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(42.35, 44.00, -51.47) |
| CIE-LCH | lch(42.35, 67.71, 310.53°) |
| OKLab | oklab(52.18% 0.0886 -0.1459) |
| OKLCH | oklch(52.18% 0.171 301.3) |
| XYZ | xyz(19.6218, 12.7277, 47.8678) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 6.35
Purply
#983FB2
ΔE00 6.39
Light Indigo
#6D5ACF
ΔE00 6.73
Slate Blue
#6A5ACD
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4ABA #88BA4A
analogous
#4A50BA #7C4ABA #B44ABA
triadic
#7C4ABA #BA7C4A #4ABA7C
tetradic
#7C4ABA #BA4A50 #88BA4A #4ABAB4
square
#7C4ABA #BA4A50 #88BA4A #4ABAB4
split-complementary
#7C4ABA #BAB44A #50BA4A
monochromatic
#412664 #5F3790 #7C4ABA #9C76CB #BCA3DC
Accessibility & contrast
On white
5.92
#7C4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7C4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4ABA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4ABA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0763BE
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#6F617B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7c4aba; /* rgb */ color: rgb(124, 74, 186); /* oklch */ color: oklch(52.2% 0.171 301.3);
Tailwind
colors: {
custom: {
50: '#a67fcf',
500: '#7c4aba',
950: '#000000',
},
}SCSS
$custom: #7c4aba; $custom-light: #a67fcf; $custom-dark: #000000;
JSON
{
"hex": "#7c4aba",
"rgb": {
"r": 124,
"g": 74,
"b": 186
},
"hsl": {
"h": 266.786,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.52182,
"c": 0.17069,
"h": 301.3
},
"luminance": 0.12728
}Semantic roles & 50–950 ramp
primary
#7C4ABA
secondary
#B3C997
accent
#D5539B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82