#7C3EB5#7C3EB5
#7C3EB5 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.182 H 304.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3EB5 |
|---|---|
| RGB | rgb(124, 62, 181) |
| HSL | hsl(271, 49%, 48%) |
| HSV | hsv(271, 66%, 71%) |
| CMYK | cmyk(31.5%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(39.69, 49.05, -52.82) |
| CIE-LCH | lch(39.69, 72.08, 312.88°) |
| OKLab | oklab(50.15% 0.1032 -0.1498) |
| OKLCH | oklch(50.15% 0.182 304.6) |
| XYZ | xyz(18.3734, 11.0666, 44.8752) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 5.87
Purply
#983FB2
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 6.04
Blueviolet
#8A2BE2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3EB5 #77B53E
analogous
#413EB5 #7C3EB5 #B53EB2
triadic
#7C3EB5 #B57C3E #3EB57C
tetradic
#7C3EB5 #B5413E #77B53E #3EB2B5
square
#7C3EB5 #B5413E #77B53E #3EB2B5
split-complementary
#7C3EB5 #B2B53E #3EB541
monochromatic
#3E1F5A #5D2E87 #7C3EB5 #9A66CA #B893DA
Accessibility & contrast
On white
6.54
#7C3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#7C3EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3EB5
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3EB5 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#725874
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7c3eb5; /* rgb */ color: rgb(124, 62, 181); /* oklch */ color: oklch(50.1% 0.182 304.6);
Tailwind
colors: {
custom: {
50: '#a677cc',
500: '#7c3eb5',
950: '#000000',
},
}SCSS
$custom: #7c3eb5; $custom-light: #a677cc; $custom-dark: #000000;
JSON
{
"hex": "#7c3eb5",
"rgb": {
"r": 124,
"g": 62,
"b": 181
},
"hsl": {
"h": 271.261,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.50149,
"c": 0.1819,
"h": 304.6
},
"luminance": 0.11067
}Semantic roles & 50–950 ramp
primary
#7C3EB5
secondary
#A6C589
accent
#D94F91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82