#7C2CC0#7C2CC0
#7C2CC0 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.215 H 303.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CC0 |
|---|---|
| RGB | rgb(124, 44, 192) |
| HSL | hsl(272, 63%, 46%) |
| HSV | hsv(272, 77%, 75%) |
| CMYK | cmyk(35.4%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(37.65, 59.69, -62.60) |
| CIE-LCH | lch(37.65, 86.50, 313.64°) |
| OKLab | oklab(48.95% 0.1192 -0.1785) |
| OKLCH | oklch(48.95% 0.215 303.7) |
| XYZ | xyz(18.7251, 9.8923, 50.7819) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.43
Blueviolet
#8A2BE2
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.72
Purple Blue
#5D21D0
ΔE00 5.76
Burple
#6832E3
ΔE00 5.89
Bluey Purple
#6241C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CC0 #70C02C
analogous
#322CC0 #7C2CC0 #C02CBA
triadic
#7C2CC0 #C07C2C #2CC07C
tetradic
#7C2CC0 #C0322C #70C02C #2CBAC0
square
#7C2CC0 #C0322C #70C02C #2CBAC0
split-complementary
#7C2CC0 #BAC02C #2CC032
monochromatic
#3C155C #5C218E #7C2CC0 #9A52D7 #B784E3
Accessibility & contrast
On white
7.05
#7C2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#7C2CC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CC0
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CC0 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#6E5375
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7c2cc0; /* rgb */ color: rgb(124, 44, 192); /* oklch */ color: oklch(49.0% 0.215 303.7);
Tailwind
colors: {
custom: {
50: '#a86ed4',
500: '#7c2cc0',
950: '#000000',
},
}SCSS
$custom: #7c2cc0; $custom-light: #a86ed4; $custom-dark: #000000;
JSON
{
"hex": "#7c2cc0",
"rgb": {
"r": 124,
"g": 44,
"b": 192
},
"hsl": {
"h": 272.432,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.48954,
"c": 0.21464,
"h": 303.7
},
"luminance": 0.09892
}Semantic roles & 50–950 ramp
primary
#7C2CC0
secondary
#A1CC7C
accent
#E6428D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83