#7C3BB7#7C3BB7
#7C3BB7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.188 H 304.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3BB7 |
|---|---|
| RGB | rgb(124, 59, 183) |
| HSL | hsl(271, 51%, 47%) |
| HSV | hsv(271, 68%, 72%) |
| CMYK | cmyk(32.2%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(39.30, 51.01, -54.64) |
| CIE-LCH | lch(39.30, 74.75, 313.03°) |
| OKLab | oklab(49.91% 0.1063 -0.1551) |
| OKLCH | oklch(49.91% 0.188 304.4) |
| XYZ | xyz(18.4215, 10.8320, 45.9109) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 5.96
Royal Purple
#7851A9
ΔE00 6.08
Blueviolet
#8A2BE2
ΔE00 6.10
Purply
#983FB2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3BB7 #76B73B
analogous
#3E3BB7 #7C3BB7 #B73BB4
triadic
#7C3BB7 #B77C3B #3BB77C
tetradic
#7C3BB7 #B73E3B #76B73B #3BB4B7
square
#7C3BB7 #B73E3B #76B73B #3BB4B7
split-complementary
#7C3BB7 #B4B73B #3BB73E
monochromatic
#3D1D5A #5D2C89 #7C3BB7 #9A63CD #B891DC
Accessibility & contrast
On white
6.63
#7C3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7C3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3BB7
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3BB7 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0C5DB4
Tritanopia (blue-blind)
#715774
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7c3bb7; /* rgb */ color: rgb(124, 59, 183); /* oklch */ color: oklch(49.9% 0.188 304.4);
Tailwind
colors: {
custom: {
50: '#a676cd',
500: '#7c3bb7',
950: '#000000',
},
}SCSS
$custom: #7c3bb7; $custom-light: #a676cd; $custom-dark: #000000;
JSON
{
"hex": "#7c3bb7",
"rgb": {
"r": 124,
"g": 59,
"b": 183
},
"hsl": {
"h": 271.452,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.49909,
"c": 0.18809,
"h": 304.4
},
"luminance": 0.10832
}Semantic roles & 50–950 ramp
primary
#7C3BB7
secondary
#A5C687
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82