#7C2FC5#7C2FC5
#7C2FC5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.217 H 302.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FC5 |
|---|---|
| RGB | rgb(124, 47, 197) |
| HSL | hsl(271, 61%, 48%) |
| HSV | hsv(271, 76%, 77%) |
| CMYK | cmyk(37.1%, 76.1%, 0%, 22.7%) |
| CIE-LAB | lab(38.46, 59.66, -64.20) |
| CIE-LCH | lch(38.46, 87.64, 312.90°) |
| OKLab | oklab(49.65% 0.1155 -0.1832) |
| OKLCH | oklch(49.65% 0.217 302.2) |
| XYZ | xyz(19.4043, 10.3493, 53.7878) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.30
Darkviolet
#9400D3
ΔE00 4.43
Burple
#6832E3
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.42
Bluey Purple
#6241C7
ΔE00 5.50
Purple Blue
#5D21D0
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FC5 #78C52F
analogous
#312FC5 #7C2FC5 #C52FC3
triadic
#7C2FC5 #C57C2F #2FC57C
tetradic
#7C2FC5 #C5312F #78C52F #2FC3C5
square
#7C2FC5 #C5312F #78C52F #2FC3C5
split-complementary
#7C2FC5 #C3C52F #2FC531
monochromatic
#3E1762 #5D2394 #7C2FC5 #9A5AD8 #B88BE3
Accessibility & contrast
On white
6.84
#7C2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#7C2FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2FC5
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FC5 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#6C5679
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7c2fc5; /* rgb */ color: rgb(124, 47, 197); /* oklch */ color: oklch(49.6% 0.217 302.2);
Tailwind
colors: {
custom: {
50: '#a870d8',
500: '#7c2fc5',
950: '#000000',
},
}SCSS
$custom: #7c2fc5; $custom-light: #a870d8; $custom-dark: #000000;
JSON
{
"hex": "#7c2fc5",
"rgb": {
"r": 124,
"g": 47,
"b": 197
},
"hsl": {
"h": 270.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.49649,
"c": 0.21656,
"h": 302.2
},
"luminance": 0.10349
}Semantic roles & 50–950 ramp
primary
#7C2FC5
secondary
#A7CD82
accent
#E54392
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83