#7C2DAD#7C2DAD
#7C2DAD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.195 H 308.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2DAD |
|---|---|
| RGB | rgb(124, 45, 173) |
| HSL | hsl(277, 59%, 43%) |
| HSV | hsv(277, 74%, 68%) |
| CMYK | cmyk(28.3%, 74%, 0%, 32.2%) |
| CIE-LAB | lab(36.33, 55.01, -53.51) |
| CIE-LCH | lch(36.33, 76.74, 315.79°) |
| OKLab | oklab(47.57% 0.1223 -0.1518) |
| OKLCH | oklch(47.57% 0.195 308.9) |
| XYZ | xyz(16.7919, 9.1793, 40.4143) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.68
Rebeccapurple
#663399
ΔE00 4.65
Darkviolet
#9400D3
ΔE00 6.06
Darkorchid
#9932CC
ΔE00 6.74
Purply
#983FB2
ΔE00 7.08
Blueviolet
#8A2BE2
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2DAD #5EAD2D
analogous
#3C2DAD #7C2DAD #AD2D9E
triadic
#7C2DAD #AD7C2D #2DAD7C
tetradic
#7C2DAD #AD3C2D #5EAD2D #2D9EAD
square
#7C2DAD #AD3C2D #5EAD2D #2D9EAD
split-complementary
#7C2DAD #9EAD2D #2DAD3C
monochromatic
#36144C #59207C #7C2DAD #9B48CF #B678DC
Accessibility & contrast
On white
7.41
#7C2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#7C2DAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2DAD
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2DAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2DAD | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0456AA
Tritanopia (blue-blind)
#754B6B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7c2dad; /* rgb */ color: rgb(124, 45, 173); /* oklch */ color: oklch(47.6% 0.195 308.9);
Tailwind
colors: {
custom: {
50: '#a76ec6',
500: '#7c2dad',
950: '#000000',
},
}SCSS
$custom: #7c2dad; $custom-light: #a76ec6; $custom-dark: #000000;
JSON
{
"hex": "#7c2dad",
"rgb": {
"r": 124,
"g": 45,
"b": 173
},
"hsl": {
"h": 277.031,
"s": 58.716,
"l": 42.745
},
"oklch": {
"l": 0.47567,
"c": 0.19493,
"h": 308.9
},
"luminance": 0.09179
}Semantic roles & 50–950 ramp
primary
#7C2DAD
secondary
#91C472
accent
#E24682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82