#7C3BB6#7C3BB6
#7C3BB6 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.187 H 304.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3BB6 |
|---|---|
| RGB | rgb(124, 59, 182) |
| HSL | hsl(272, 51%, 47%) |
| HSV | hsv(272, 68%, 71%) |
| CMYK | cmyk(31.9%, 67.6%, 0%, 28.6%) |
| CIE-LAB | lab(39.23, 50.77, -54.16) |
| CIE-LCH | lch(39.23, 74.24, 313.15°) |
| OKLab | oklab(49.84% 0.1065 -0.1537) |
| OKLCH | oklch(49.84% 0.187 304.7) |
| XYZ | xyz(18.3178, 10.7905, 45.3647) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 5.84
Rebeccapurple
#663399
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.03
Purply
#983FB2
ΔE00 6.10
Blueviolet
#8A2BE2
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3BB6 #75B63B
analogous
#3E3BB6 #7C3BB6 #B63BB3
triadic
#7C3BB6 #B67C3B #3BB67C
tetradic
#7C3BB6 #B63E3B #75B63B #3BB3B6
square
#7C3BB6 #B63E3B #75B63B #3BB3B6
split-complementary
#7C3BB6 #B3B63B #3BB63E
monochromatic
#3D1D5A #5D2C88 #7C3BB6 #9A62CC #B890DB
Accessibility & contrast
On white
6.65
#7C3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#7C3BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3BB6
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3BB6 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#105CB3
Tritanopia (blue-blind)
#715674
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7c3bb6; /* rgb */ color: rgb(124, 59, 182); /* oklch */ color: oklch(49.8% 0.187 304.7);
Tailwind
colors: {
custom: {
50: '#a676cd',
500: '#7c3bb6',
950: '#000000',
},
}SCSS
$custom: #7c3bb6; $custom-light: #a676cd; $custom-dark: #000000;
JSON
{
"hex": "#7c3bb6",
"rgb": {
"r": 124,
"g": 59,
"b": 182
},
"hsl": {
"h": 271.707,
"s": 51.037,
"l": 47.255
},
"oklch": {
"l": 0.49836,
"c": 0.187,
"h": 304.7
},
"luminance": 0.1079
}Semantic roles & 50–950 ramp
primary
#7C3BB6
secondary
#A5C687
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82