#7C3CB8#7C3CB8
#7C3CB8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.188 H 304.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3CB8 |
|---|---|
| RGB | rgb(124, 60, 184) |
| HSL | hsl(271, 51%, 48%) |
| HSV | hsv(271, 67%, 72%) |
| CMYK | cmyk(32.6%, 67.4%, 0%, 27.8%) |
| CIE-LAB | lab(39.54, 50.76, -54.83) |
| CIE-LCH | lch(39.54, 74.72, 312.80°) |
| OKLab | oklab(50.11% 0.1051 -0.1557) |
| OKLCH | oklch(50.11% 0.188 304) |
| XYZ | xyz(18.5778, 10.9776, 46.4783) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.40
Bluey Purple
#6241C7
ΔE00 5.60
Royal Purple
#7851A9
ΔE00 5.95
Blueviolet
#8A2BE2
ΔE00 6.00
Rebeccapurple
#663399
ΔE00 6.15
Purply
#983FB2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3CB8 #78B83C
analogous
#3E3CB8 #7C3CB8 #B83CB6
triadic
#7C3CB8 #B87C3C #3CB87C
tetradic
#7C3CB8 #B83E3C #78B83C #3CB6B8
square
#7C3CB8 #B83E3C #78B83C #3CB6B8
split-complementary
#7C3CB8 #B6B83C #3CB83E
monochromatic
#3E1E5C #5D2D8A #7C3CB8 #9A65CD #B893DC
Accessibility & contrast
On white
6.57
#7C3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7C3CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3CB8
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3CB8 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0C5DB5
Tritanopia (blue-blind)
#715875
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7c3cb8; /* rgb */ color: rgb(124, 60, 184); /* oklch */ color: oklch(50.1% 0.188 304.0);
Tailwind
colors: {
custom: {
50: '#a776ce',
500: '#7c3cb8',
950: '#000000',
},
}SCSS
$custom: #7c3cb8; $custom-light: #a776ce; $custom-dark: #000000;
JSON
{
"hex": "#7c3cb8",
"rgb": {
"r": 124,
"g": 60,
"b": 184
},
"hsl": {
"h": 270.968,
"s": 50.82,
"l": 47.843
},
"oklch": {
"l": 0.50108,
"c": 0.18787,
"h": 304
},
"luminance": 0.10977
}Semantic roles & 50–950 ramp
primary
#7C3CB8
secondary
#A7C789
accent
#DA4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82