#7C4ABE#7C4ABE
#7C4ABE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.175 H 300.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4ABE |
|---|---|
| RGB | rgb(124, 74, 190) |
| HSL | hsl(266, 47%, 52%) |
| HSV | hsv(266, 61%, 75%) |
| CMYK | cmyk(34.7%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(42.61, 45.02, -53.39) |
| CIE-LCH | lch(42.61, 69.83, 310.14°) |
| OKLab | oklab(52.46% 0.0885 -0.1515) |
| OKLCH | oklch(52.46% 0.175 300.3) |
| XYZ | xyz(20.0530, 12.9002, 50.1387) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.15
Bluey Purple
#6241C7
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 6.23
Light Indigo
#6D5ACF
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.56
Purply
#983FB2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4ABE #8CBE4A
analogous
#4A52BE #7C4ABE #B64ABE
triadic
#7C4ABE #BE7C4A #4ABE7C
tetradic
#7C4ABE #BE4A52 #8CBE4A #4ABEB6
square
#7C4ABE #BE4A52 #8CBE4A #4ABEB6
split-complementary
#7C4ABE #BEB64A #52BE4A
monochromatic
#422568 #5F3695 #7C4ABE #9D77CE #BDA4DE
Accessibility & contrast
On white
5.87
#7C4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#7C4ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4ABE
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4ABE | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#6E637D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7c4abe; /* rgb */ color: rgb(124, 74, 190); /* oklch */ color: oklch(52.5% 0.175 300.3);
Tailwind
colors: {
custom: {
50: '#a67fd2',
500: '#7c4abe',
950: '#000000',
},
}SCSS
$custom: #7c4abe; $custom-light: #a67fd2; $custom-dark: #000000;
JSON
{
"hex": "#7c4abe",
"rgb": {
"r": 124,
"g": 74,
"b": 190
},
"hsl": {
"h": 265.862,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.52457,
"c": 0.17546,
"h": 300.3
},
"luminance": 0.129
}Semantic roles & 50–950 ramp
primary
#7C4ABE
secondary
#B5CB98
accent
#D7519D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83