#7C3ABA#7C3ABA
#7C3ABA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.193 H 303.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3ABA |
|---|---|
| RGB | rgb(124, 58, 186) |
| HSL | hsl(271, 52%, 48%) |
| HSV | hsv(271, 69%, 73%) |
| CMYK | cmyk(33.3%, 68.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.34, 52.21, -56.33) |
| CIE-LCH | lch(39.34, 76.81, 312.82°) |
| OKLab | oklab(50.01% 0.107 -0.1601) |
| OKLCH | oklch(50.01% 0.193 303.8) |
| XYZ | xyz(18.6861, 10.8564, 47.5559) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 5.48
Blueviolet
#8A2BE2
ΔE00 5.65
Darkviolet
#9400D3
ΔE00 6.03
Rebeccapurple
#663399
ΔE00 6.21
Purply
#983FB2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3ABA #78BA3A
analogous
#3C3ABA #7C3ABA #BA3AB8
triadic
#7C3ABA #BA7C3A #3ABA7C
tetradic
#7C3ABA #BA3C3A #78BA3A #3AB8BA
square
#7C3ABA #BA3C3A #78BA3A #3AB8BA
split-complementary
#7C3ABA #B8BA3A #3ABA3C
monochromatic
#3E1D5D #5D2B8B #7C3ABA #9A63CE #B892DD
Accessibility & contrast
On white
6.62
#7C3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7C3ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3ABA
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3ABA | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#705775
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7c3aba; /* rgb */ color: rgb(124, 58, 186); /* oklch */ color: oklch(50.0% 0.193 303.8);
Tailwind
colors: {
custom: {
50: '#a775d0',
500: '#7c3aba',
950: '#000000',
},
}SCSS
$custom: #7c3aba; $custom-light: #a775d0; $custom-dark: #000000;
JSON
{
"hex": "#7c3aba",
"rgb": {
"r": 124,
"g": 58,
"b": 186
},
"hsl": {
"h": 270.938,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.50007,
"c": 0.19261,
"h": 303.8
},
"luminance": 0.10856
}Semantic roles & 50–950 ramp
primary
#7C3ABA
secondary
#A7C888
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82