#7C2CB1#7C2CB1
#7C2CB1 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.200 H 307.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CB1 |
|---|---|
| RGB | rgb(124, 44, 177) |
| HSL | hsl(276, 60%, 43%) |
| HSV | hsv(276, 75%, 69%) |
| CMYK | cmyk(29.9%, 75.1%, 0%, 30.6%) |
| CIE-LAB | lab(36.48, 56.31, -55.64) |
| CIE-LCH | lch(36.48, 79.16, 315.34°) |
| OKLab | oklab(47.77% 0.1225 -0.158) |
| OKLCH | oklch(47.77% 0.2 307.8) |
| XYZ | xyz(17.1470, 9.2610, 42.4707) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.13
Rebeccapurple
#663399
ΔE00 4.97
Darkviolet
#9400D3
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 6.49
Blueviolet
#8A2BE2
ΔE00 7.05
Purple Blue
#5D21D0
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CB1 #61B12C
analogous
#392CB1 #7C2CB1 #B12CA3
triadic
#7C2CB1 #B17C2C #2CB17C
tetradic
#7C2CB1 #B1392C #61B12C #2CA3B1
square
#7C2CB1 #B1392C #61B12C #2CA3B1
split-complementary
#7C2CB1 #A3B12C #2CB139
monochromatic
#37144F #5A2080 #7C2CB1 #9B49D2 #B67ADE
Accessibility & contrast
On white
7.36
#7C2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7C2CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CB1
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CB1 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#734C6D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7c2cb1; /* rgb */ color: rgb(124, 44, 177); /* oklch */ color: oklch(47.8% 0.200 307.8);
Tailwind
colors: {
custom: {
50: '#a76dc9',
500: '#7c2cb1',
950: '#000000',
},
}SCSS
$custom: #7c2cb1; $custom-light: #a76dc9; $custom-dark: #000000;
JSON
{
"hex": "#7c2cb1",
"rgb": {
"r": 124,
"g": 44,
"b": 177
},
"hsl": {
"h": 276.09,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.4777,
"c": 0.19997,
"h": 307.8
},
"luminance": 0.09261
}Semantic roles & 50–950 ramp
primary
#7C2CB1
secondary
#94C673
accent
#E34484
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82