#7C2CB5#7C2CB5
#7C2CB5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.204 H 306.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CB5 |
|---|---|
| RGB | rgb(124, 44, 181) |
| HSL | hsl(275, 61%, 44%) |
| HSV | hsv(275, 76%, 71%) |
| CMYK | cmyk(31.5%, 75.7%, 0%, 29%) |
| CIE-LAB | lab(36.79, 57.20, -57.52) |
| CIE-LCH | lch(36.79, 81.12, 314.84°) |
| OKLab | oklab(48.08% 0.1217 -0.1635) |
| OKLCH | oklch(48.08% 0.204 306.7) |
| XYZ | xyz(17.5515, 9.4228, 44.6013) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.69
Darkviolet
#9400D3
ΔE00 5.21
Rebeccapurple
#663399
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 6.23
Blueviolet
#8A2BE2
ΔE00 6.49
Purple Blue
#5D21D0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CB5 #65B52C
analogous
#372CB5 #7C2CB5 #B52CAA
triadic
#7C2CB5 #B57C2C #2CB57C
tetradic
#7C2CB5 #B5372C #65B52C #2CAAB5
square
#7C2CB5 #B5372C #65B52C #2CAAB5
split-complementary
#7C2CB5 #AAB52C #2CB537
monochromatic
#391453 #5A2084 #7C2CB5 #9B4BD3 #B67CDF
Accessibility & contrast
On white
7.28
#7C2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#7C2CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CB5
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CB5 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#724E6F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7c2cb5; /* rgb */ color: rgb(124, 44, 181); /* oklch */ color: oklch(48.1% 0.204 306.7);
Tailwind
colors: {
custom: {
50: '#a76ecc',
500: '#7c2cb5',
950: '#000000',
},
}SCSS
$custom: #7c2cb5; $custom-light: #a76ecc; $custom-dark: #000000;
JSON
{
"hex": "#7c2cb5",
"rgb": {
"r": 124,
"g": 44,
"b": 181
},
"hsl": {
"h": 275.036,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.48079,
"c": 0.20388,
"h": 306.7
},
"luminance": 0.09423
}Semantic roles & 50–950 ramp
primary
#7C2CB5
secondary
#97C875
accent
#E44486
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82