#7C2FC0#7C2FC0
#7C2FC0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.212 H 303.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FC0 |
|---|---|
| RGB | rgb(124, 47, 192) |
| HSL | hsl(272, 61%, 47%) |
| HSV | hsv(272, 76%, 75%) |
| CMYK | cmyk(35.4%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(38.06, 58.50, -61.93) |
| CIE-LCH | lch(38.06, 85.19, 313.37°) |
| OKLab | oklab(49.25% 0.1167 -0.1765) |
| OKLCH | oklch(49.25% 0.212 303.5) |
| XYZ | xyz(18.8409, 10.1239, 50.8205) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.61
Blueviolet
#8A2BE2
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.52
Bluey Purple
#6241C7
ΔE00 5.79
Burple
#6832E3
ΔE00 5.81
Purple Blue
#5D21D0
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FC0 #73C02F
analogous
#342FC0 #7C2FC0 #C02FBC
triadic
#7C2FC0 #C07C2F #2FC07C
tetradic
#7C2FC0 #C0342F #73C02F #2FBCC0
square
#7C2FC0 #C0342F #73C02F #2FBCC0
split-complementary
#7C2FC0 #BCC02F #2FC034
monochromatic
#3C175E #5C238F #7C2FC0 #9A56D6 #B788E2
Accessibility & contrast
On white
6.94
#7C2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7C2FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2FC0
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FC0 | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6E5476
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7c2fc0; /* rgb */ color: rgb(124, 47, 192); /* oklch */ color: oklch(49.2% 0.212 303.5);
Tailwind
colors: {
custom: {
50: '#a870d4',
500: '#7c2fc0',
950: '#000000',
},
}SCSS
$custom: #7c2fc0; $custom-light: #a870d4; $custom-dark: #000000;
JSON
{
"hex": "#7c2fc0",
"rgb": {
"r": 124,
"g": 47,
"b": 192
},
"hsl": {
"h": 271.862,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.49246,
"c": 0.21157,
"h": 303.5
},
"luminance": 0.10124
}Semantic roles & 50–950 ramp
primary
#7C2FC0
secondary
#A3CB7F
accent
#E4448F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83