#7C2CA9#7C2CA9
#7C2CA9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.192 H 310.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CA9 |
|---|---|
| RGB | rgb(124, 44, 169) |
| HSL | hsl(278, 59%, 42%) |
| HSV | hsv(278, 74%, 66%) |
| CMYK | cmyk(26.6%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(35.89, 54.54, -51.83) |
| CIE-LCH | lch(35.89, 75.24, 316.46°) |
| OKLab | oklab(47.17% 0.124 -0.1468) |
| OKLCH | oklch(47.17% 0.192 310.2) |
| XYZ | xyz(16.3729, 8.9514, 38.3937) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.05
Rebeccapurple
#663399
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 6.49
Darkorchid
#9932CC
ΔE00 7.16
Purply
#983FB2
ΔE00 7.16
Darkmagenta
#8B008B
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CA9 #59A92C
analogous
#3E2CA9 #7C2CA9 #A92C98
triadic
#7C2CA9 #A97C2C #2CA97C
tetradic
#7C2CA9 #A93E2C #59A92C #2C98A9
square
#7C2CA9 #A93E2C #59A92C #2C98A9
split-complementary
#7C2CA9 #98A92C #2CA93E
monochromatic
#351348 #581F78 #7C2CA9 #9C44CE #B674DB
Accessibility & contrast
On white
7.53
#7C2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#7C2CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CA9
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CA9 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#1056A6
Tritanopia (blue-blind)
#764968
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7c2ca9; /* rgb */ color: rgb(124, 44, 169); /* oklch */ color: oklch(47.2% 0.192 310.2);
Tailwind
colors: {
custom: {
50: '#a66dc3',
500: '#7c2ca9',
950: '#000000',
},
}SCSS
$custom: #7c2ca9; $custom-light: #a66dc3; $custom-dark: #000000;
JSON
{
"hex": "#7c2ca9",
"rgb": {
"r": 124,
"g": 44,
"b": 169
},
"hsl": {
"h": 278.4,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.47165,
"c": 0.19215,
"h": 310.2
},
"luminance": 0.08951
}Semantic roles & 50–950 ramp
primary
#7C2CA9
secondary
#8DC36E
accent
#E2467E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82