#7C2CAC#7C2CAC
#7C2CAC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.195 H 309.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CAC |
|---|---|
| RGB | rgb(124, 44, 172) |
| HSL | hsl(278, 59%, 42%) |
| HSV | hsv(278, 74%, 67%) |
| CMYK | cmyk(27.9%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(36.11, 55.20, -53.27) |
| CIE-LCH | lch(36.11, 76.71, 316.02°) |
| OKLab | oklab(47.39% 0.1235 -0.151) |
| OKLCH | oklch(47.39% 0.195 309.3) |
| XYZ | xyz(16.6578, 9.0653, 39.8940) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.44
Rebeccapurple
#663399
ΔE00 4.61
Darkviolet
#9400D3
ΔE00 6.14
Darkorchid
#9932CC
ΔE00 6.89
Purply
#983FB2
ΔE00 7.17
Purple Blue
#5D21D0
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CAC #5CAC2C
analogous
#3C2CAC #7C2CAC #AC2C9C
triadic
#7C2CAC #AC7C2C #2CAC7C
tetradic
#7C2CAC #AC3C2C #5CAC2C #2C9CAC
square
#7C2CAC #AC3C2C #5CAC2C #2C9CAC
split-complementary
#7C2CAC #9CAC2C #2CAC3C
monochromatic
#36134B #59207B #7C2CAC #9C46D0 #B676DC
Accessibility & contrast
On white
7.47
#7C2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#7C2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CAC
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CAC | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0556A9
Tritanopia (blue-blind)
#754A6A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7c2cac; /* rgb */ color: rgb(124, 44, 172); /* oklch */ color: oklch(47.4% 0.195 309.3);
Tailwind
colors: {
custom: {
50: '#a76dc6',
500: '#7c2cac',
950: '#000000',
},
}SCSS
$custom: #7c2cac; $custom-light: #a76dc6; $custom-dark: #000000;
JSON
{
"hex": "#7c2cac",
"rgb": {
"r": 124,
"g": 44,
"b": 172
},
"hsl": {
"h": 277.5,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.4739,
"c": 0.19508,
"h": 309.3
},
"luminance": 0.09065
}Semantic roles & 50–950 ramp
primary
#7C2CAC
secondary
#8FC470
accent
#E24580
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82