#7C3ABB#7C3ABB
#7C3ABB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.194 H 303.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3ABB |
|---|---|
| RGB | rgb(124, 58, 187) |
| HSL | hsl(271, 53%, 48%) |
| HSV | hsv(271, 69%, 73%) |
| CMYK | cmyk(33.7%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(39.41, 52.45, -56.80) |
| CIE-LCH | lch(39.41, 77.32, 312.72°) |
| OKLab | oklab(50.08% 0.1069 -0.1615) |
| OKLCH | oklch(50.08% 0.194 303.5) |
| XYZ | xyz(18.7928, 10.8991, 48.1178) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.25
Bluey Purple
#6241C7
ΔE00 5.39
Blueviolet
#8A2BE2
ΔE00 5.52
Darkviolet
#9400D3
ΔE00 5.97
Rebeccapurple
#663399
ΔE00 6.32
Purply
#983FB2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3ABB #79BB3A
analogous
#3C3ABB #7C3ABB #BB3AB9
triadic
#7C3ABB #BB7C3A #3ABB7C
tetradic
#7C3ABB #BB3C3A #79BB3A #3AB9BB
square
#7C3ABB #BB3C3A #79BB3A #3AB9BB
split-complementary
#7C3ABB #B9BB3A #3ABB3C
monochromatic
#3E1D5E #5D2C8C #7C3ABB #9A63CF #B992DD
Accessibility & contrast
On white
6.60
#7C3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7C3ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3ABB
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3ABB | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#705876
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7c3abb; /* rgb */ color: rgb(124, 58, 187); /* oklch */ color: oklch(50.1% 0.194 303.5);
Tailwind
colors: {
custom: {
50: '#a775d0',
500: '#7c3abb',
950: '#000000',
},
}SCSS
$custom: #7c3abb; $custom-light: #a775d0; $custom-dark: #000000;
JSON
{
"hex": "#7c3abb",
"rgb": {
"r": 124,
"g": 58,
"b": 187
},
"hsl": {
"h": 270.698,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.50081,
"c": 0.19369,
"h": 303.5
},
"luminance": 0.10899
}Semantic roles & 50–950 ramp
primary
#7C3ABB
secondary
#A8C888
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82