#7C2AC8#7C2AC8
#7C2AC8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.224 H 302.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2AC8 |
|---|---|
| RGB | rgb(124, 42, 200) |
| HSL | hsl(271, 65%, 47%) |
| HSV | hsv(271, 79%, 78%) |
| CMYK | cmyk(38%, 79%, 0%, 21.6%) |
| CIE-LAB | lab(38.04, 62.28, -66.64) |
| CIE-LCH | lch(38.04, 91.21, 313.06°) |
| OKLab | oklab(49.43% 0.1187 -0.1903) |
| OKLCH | oklch(49.43% 0.224 302) |
| XYZ | xyz(19.5629, 10.1111, 55.5534) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.20
Burple
#6832E3
ΔE00 4.96
Purple Blue
#5D21D0
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 5.71
Purply Blue
#661AEE
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2AC8 #76C82A
analogous
#2D2AC8 #7C2AC8 #C82AC5
triadic
#7C2AC8 #C87C2A #2AC87C
tetradic
#7C2AC8 #C82D2A #76C82A #2AC5C8
square
#7C2AC8 #C82D2A #76C82A #2AC5C8
split-complementary
#7C2AC8 #C5C82A #2AC82D
monochromatic
#3D1563 #5D1F95 #7C2AC8 #9A54DB #B887E6
Accessibility & contrast
On white
6.95
#7C2AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7C2AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2AC8
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2AC8 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#6B5579
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7c2ac8; /* rgb */ color: rgb(124, 42, 200); /* oklch */ color: oklch(49.4% 0.224 302.0);
Tailwind
colors: {
custom: {
50: '#a96eda',
500: '#7c2ac8',
950: '#000000',
},
}SCSS
$custom: #7c2ac8; $custom-light: #a96eda; $custom-dark: #000000;
JSON
{
"hex": "#7c2ac8",
"rgb": {
"r": 124,
"g": 42,
"b": 200
},
"hsl": {
"h": 271.139,
"s": 65.289,
"l": 47.451
},
"oklch": {
"l": 0.49431,
"c": 0.22431,
"h": 302
},
"luminance": 0.10111
}Semantic roles & 50–950 ramp
primary
#7C2AC8
secondary
#A5CF7F
accent
#E84091
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83