#7C3BB8#7C3BB8
#7C3BB8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.189 H 304.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3BB8 |
|---|---|
| RGB | rgb(124, 59, 184) |
| HSL | hsl(271, 51%, 48%) |
| HSV | hsv(271, 68%, 72%) |
| CMYK | cmyk(32.6%, 67.9%, 0%, 27.8%) |
| CIE-LAB | lab(39.37, 51.25, -55.11) |
| CIE-LCH | lch(39.37, 75.26, 312.92°) |
| OKLab | oklab(49.98% 0.1062 -0.1565) |
| OKLCH | oklch(49.98% 0.189 304.2) |
| XYZ | xyz(18.5259, 10.8738, 46.4610) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 5.96
Rebeccapurple
#663399
ΔE00 6.07
Royal Purple
#7851A9
ΔE00 6.14
Purply
#983FB2
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3BB8 #77B83B
analogous
#3E3BB8 #7C3BB8 #B83BB5
triadic
#7C3BB8 #B87C3B #3BB87C
tetradic
#7C3BB8 #B83E3B #77B83B #3BB5B8
square
#7C3BB8 #B83E3B #77B83B #3BB5B8
split-complementary
#7C3BB8 #B5B83B #3BB83E
monochromatic
#3E1D5B #5D2C8A #7C3BB8 #9A63CD #B892DC
Accessibility & contrast
On white
6.61
#7C3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7C3BB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3BB8
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3BB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3BB8 | 1.00 | 6.61 | 3.17 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#715775
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7c3bb8; /* rgb */ color: rgb(124, 59, 184); /* oklch */ color: oklch(50.0% 0.189 304.2);
Tailwind
colors: {
custom: {
50: '#a776ce',
500: '#7c3bb8',
950: '#000000',
},
}SCSS
$custom: #7c3bb8; $custom-light: #a776ce; $custom-dark: #000000;
JSON
{
"hex": "#7c3bb8",
"rgb": {
"r": 124,
"g": 59,
"b": 184
},
"hsl": {
"h": 271.2,
"s": 51.44,
"l": 47.647
},
"oklch": {
"l": 0.49982,
"c": 0.18917,
"h": 304.2
},
"luminance": 0.10874
}Semantic roles & 50–950 ramp
primary
#7C3BB8
secondary
#A6C788
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82