#7C2CB6#7C2CB6
#7C2CB6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.205 H 306.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CB6 |
|---|---|
| RGB | rgb(124, 44, 182) |
| HSL | hsl(275, 61%, 44%) |
| HSV | hsv(275, 76%, 71%) |
| CMYK | cmyk(31.9%, 75.8%, 0%, 28.6%) |
| CIE-LAB | lab(36.86, 57.43, -57.99) |
| CIE-LCH | lch(36.86, 81.61, 314.72°) |
| OKLab | oklab(48.16% 0.1215 -0.1649) |
| OKLCH | oklch(48.16% 0.205 306.4) |
| XYZ | xyz(17.6545, 9.4640, 45.1436) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.83
Darkviolet
#9400D3
ΔE00 5.12
Rebeccapurple
#663399
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 6.17
Blueviolet
#8A2BE2
ΔE00 6.36
Purple Blue
#5D21D0
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CB6 #66B62C
analogous
#372CB6 #7C2CB6 #B62CAB
triadic
#7C2CB6 #B67C2C #2CB67C
tetradic
#7C2CB6 #B6372C #66B62C #2CABB6
square
#7C2CB6 #B6372C #66B62C #2CABB6
split-complementary
#7C2CB6 #ABB62C #2CB637
monochromatic
#391453 #5A2085 #7C2CB6 #9A4CD4 #B67DE0
Accessibility & contrast
On white
7.26
#7C2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#7C2CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CB6
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CB6 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#724E70
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7c2cb6; /* rgb */ color: rgb(124, 44, 182); /* oklch */ color: oklch(48.2% 0.205 306.4);
Tailwind
colors: {
custom: {
50: '#a76ecd',
500: '#7c2cb6',
950: '#000000',
},
}SCSS
$custom: #7c2cb6; $custom-light: #a76ecd; $custom-dark: #000000;
JSON
{
"hex": "#7c2cb6",
"rgb": {
"r": 124,
"g": 44,
"b": 182
},
"hsl": {
"h": 274.783,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.48157,
"c": 0.20486,
"h": 306.4
},
"luminance": 0.09464
}Semantic roles & 50–950 ramp
primary
#7C2CB6
secondary
#98C876
accent
#E44487
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82