#7C1FB3#7C1FB3
#7C1FB3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.214 H 308.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1FB3 |
|---|---|
| RGB | rgb(124, 31, 179) |
| HSL | hsl(278, 70%, 41%) |
| HSV | hsv(278, 83%, 70%) |
| CMYK | cmyk(30.7%, 82.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.04, 61.35, -59.17) |
| CIE-LCH | lch(35.04, 85.24, 316.04°) |
| OKLab | oklab(46.81% 0.1326 -0.1683) |
| OKLCH | oklch(46.81% 0.214 308.2) |
| XYZ | xyz(16.9371, 8.5200, 43.3914) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.84
Darkviolet
#9400D3
ΔE00 5.27
Rebeccapurple
#663399
ΔE00 5.62
Purple Blue
#5D21D0
ΔE00 6.56
Darkorchid
#9932CC
ΔE00 7.33
Blueviolet
#8A2BE2
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1FB3 #56B31F
analogous
#321FB3 #7C1FB3 #B31FA0
triadic
#7C1FB3 #B37C1F #1FB37C
tetradic
#7C1FB3 #B3321F #56B31F #1FA0B3
square
#7C1FB3 #B3321F #56B31F #1FA0B3
split-complementary
#7C1FB3 #A0B31F #1FB332
monochromatic
#340D4B #58167F #7C1FB3 #9D33DC #B668E5
Accessibility & contrast
On white
7.77
#7C1FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#7C1FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1FB3
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1FB3 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#73476B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7c1fb3; /* rgb */ color: rgb(124, 31, 179); /* oklch */ color: oklch(46.8% 0.214 308.2);
Tailwind
colors: {
custom: {
50: '#a868cb',
500: '#7c1fb3',
950: '#000000',
},
}SCSS
$custom: #7c1fb3; $custom-light: #a868cb; $custom-dark: #000000;
JSON
{
"hex": "#7c1fb3",
"rgb": {
"r": 124,
"g": 31,
"b": 179
},
"hsl": {
"h": 277.703,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.46811,
"c": 0.21428,
"h": 308.2
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#7C1FB3
secondary
#8ACA64
accent
#ED3B7D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82