#7C2AAF#7C2AAF
#7C2AAF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.200 H 308.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2AAF |
|---|---|
| RGB | rgb(124, 42, 175) |
| HSL | hsl(277, 61%, 43%) |
| HSV | hsv(277, 76%, 69%) |
| CMYK | cmyk(29.1%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(36.05, 56.66, -55.15) |
| CIE-LCH | lch(36.05, 79.06, 315.77°) |
| OKLab | oklab(47.42% 0.1248 -0.1565) |
| OKLCH | oklch(47.42% 0.2 308.6) |
| XYZ | xyz(16.8764, 9.0364, 41.4043) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.69
Rebeccapurple
#663399
ΔE00 4.86
Darkviolet
#9400D3
ΔE00 5.74
Darkorchid
#9932CC
ΔE00 6.79
Purple Blue
#5D21D0
ΔE00 7.28
Blueviolet
#8A2BE2
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2AAF #5DAF2A
analogous
#392AAF #7C2AAF #AF2AA0
triadic
#7C2AAF #AF7C2A #2AAF7C
tetradic
#7C2AAF #AF392A #5DAF2A #2AA0AF
square
#7C2AAF #AF392A #5DAF2A #2AA0AF
split-complementary
#7C2AAF #A0AF2A #2AAF39
monochromatic
#36124C #591E7E #7C2AAF #9C44D2 #B675DE
Accessibility & contrast
On white
7.48
#7C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#7C2AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2AAF
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2AAF | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#744A6B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7c2aaf; /* rgb */ color: rgb(124, 42, 175); /* oklch */ color: oklch(47.4% 0.200 308.6);
Tailwind
colors: {
custom: {
50: '#a76cc8',
500: '#7c2aaf',
950: '#000000',
},
}SCSS
$custom: #7c2aaf; $custom-light: #a76cc8; $custom-dark: #000000;
JSON
{
"hex": "#7c2aaf",
"rgb": {
"r": 124,
"g": 42,
"b": 175
},
"hsl": {
"h": 276.992,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.47421,
"c": 0.20018,
"h": 308.6
},
"luminance": 0.09036
}Semantic roles & 50–950 ramp
primary
#7C2AAF
secondary
#90C66F
accent
#E44381
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82