#7C1CB3#7C1CB3
#7C1CB3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.217 H 308.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1CB3 |
|---|---|
| RGB | rgb(124, 28, 179) |
| HSL | hsl(278, 73%, 41%) |
| HSV | hsv(278, 84%, 70%) |
| CMYK | cmyk(30.7%, 84.4%, 0%, 29.8%) |
| CIE-LAB | lab(34.74, 62.23, -59.66) |
| CIE-LCH | lch(34.74, 86.21, 316.21°) |
| OKLab | oklab(46.6% 0.1346 -0.1697) |
| OKLCH | oklch(46.6% 0.217 308.4) |
| XYZ | xyz(16.8624, 8.3706, 43.3665) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.82
Darkviolet
#9400D3
ΔE00 5.31
Rebeccapurple
#663399
ΔE00 5.76
Purple Blue
#5D21D0
ΔE00 6.54
Darkorchid
#9932CC
ΔE00 7.55
Blueviolet
#8A2BE2
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1CB3 #53B31C
analogous
#311CB3 #7C1CB3 #B31C9E
triadic
#7C1CB3 #B37C1C #1CB37C
tetradic
#7C1CB3 #B3311C #53B31C #1C9EB3
square
#7C1CB3 #B3311C #53B31C #1C9EB3
split-complementary
#7C1CB3 #9EB31C #1CB331
monochromatic
#330B49 #57147E #7C1CB3 #9E2EDE #B763E7
Accessibility & contrast
On white
7.85
#7C1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#7C1CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1CB3
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1CB3 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#73466B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7c1cb3; /* rgb */ color: rgb(124, 28, 179); /* oklch */ color: oklch(46.6% 0.217 308.4);
Tailwind
colors: {
custom: {
50: '#a867cb',
500: '#7c1cb3',
950: '#000000',
},
}SCSS
$custom: #7c1cb3; $custom-light: #a867cb; $custom-dark: #000000;
JSON
{
"hex": "#7c1cb3",
"rgb": {
"r": 124,
"g": 28,
"b": 179
},
"hsl": {
"h": 278.146,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.46602,
"c": 0.21663,
"h": 308.4
},
"luminance": 0.0837
}Semantic roles & 50–950 ramp
primary
#7C1CB3
secondary
#87CB5F
accent
#F0387B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82