#7C2FB5#7C2FB5
#7C2FB5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.201 H 306.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FB5 |
|---|---|
| RGB | rgb(124, 47, 181) |
| HSL | hsl(274, 59%, 45%) |
| HSV | hsv(274, 74%, 71%) |
| CMYK | cmyk(31.5%, 74%, 0%, 29%) |
| CIE-LAB | lab(37.22, 55.98, -56.83) |
| CIE-LCH | lch(37.22, 79.77, 314.57°) |
| OKLab | oklab(48.38% 0.119 -0.1615) |
| OKLCH | oklch(48.38% 0.201 306.4) |
| XYZ | xyz(17.6674, 9.6545, 44.6399) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.94
Rebeccapurple
#663399
ΔE00 5.31
Darkviolet
#9400D3
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 6.39
Bluey Purple
#6241C7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FB5 #68B52F
analogous
#392FB5 #7C2FB5 #B52FAB
triadic
#7C2FB5 #B57C2F #2FB57C
tetradic
#7C2FB5 #B5392F #68B52F #2FABB5
square
#7C2FB5 #B5392F #68B52F #2FABB5
split-complementary
#7C2FB5 #ABB52F #2FB539
monochromatic
#391654 #5B2284 #7C2FB5 #9A50D1 #B680DE
Accessibility & contrast
On white
7.17
#7C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7C2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2FB5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FB5 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#724F70
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7c2fb5; /* rgb */ color: rgb(124, 47, 181); /* oklch */ color: oklch(48.4% 0.201 306.4);
Tailwind
colors: {
custom: {
50: '#a76fcc',
500: '#7c2fb5',
950: '#000000',
},
}SCSS
$custom: #7c2fb5; $custom-light: #a76fcc; $custom-dark: #000000;
JSON
{
"hex": "#7c2fb5",
"rgb": {
"r": 124,
"g": 47,
"b": 181
},
"hsl": {
"h": 274.478,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.48382,
"c": 0.20059,
"h": 306.4
},
"luminance": 0.09654
}Semantic roles & 50–950 ramp
primary
#7C2FB5
secondary
#9AC779
accent
#E24688
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82