#7C2CC7#7C2CC7
#7C2CC7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.221 H 302.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CC7 |
|---|---|
| RGB | rgb(124, 44, 199) |
| HSL | hsl(271, 64%, 48%) |
| HSV | hsv(271, 78%, 78%) |
| CMYK | cmyk(37.7%, 77.9%, 0%, 22%) |
| CIE-LAB | lab(38.22, 61.30, -65.77) |
| CIE-LCH | lch(38.22, 89.91, 312.99°) |
| OKLab | oklab(49.53% 0.1174 -0.1878) |
| OKLCH | oklch(49.53% 0.221 302) |
| XYZ | xyz(19.5192, 10.2099, 54.9641) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.18
Blueviolet
#8A2BE2
ΔE00 4.20
Burple
#6832E3
ΔE00 5.01
Purple Blue
#5D21D0
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.59
Bluey Purple
#6241C7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CC7 #77C72C
analogous
#2F2CC7 #7C2CC7 #C72CC4
triadic
#7C2CC7 #C77C2C #2CC77C
tetradic
#7C2CC7 #C72F2C #77C72C #2CC4C7
square
#7C2CC7 #C72F2C #77C72C #2CC4C7
split-complementary
#7C2CC7 #C4C72C #2CC72F
monochromatic
#3E1663 #5D2195 #7C2CC7 #9A56DA #B889E5
Accessibility & contrast
On white
6.90
#7C2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#7C2CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2CC7
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CC7 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#6C5579
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7c2cc7; /* rgb */ color: rgb(124, 44, 199); /* oklch */ color: oklch(49.5% 0.221 302.0);
Tailwind
colors: {
custom: {
50: '#a96ed9',
500: '#7c2cc7',
950: '#000000',
},
}SCSS
$custom: #7c2cc7; $custom-light: #a96ed9; $custom-dark: #000000;
JSON
{
"hex": "#7c2cc7",
"rgb": {
"r": 124,
"g": 44,
"b": 199
},
"hsl": {
"h": 270.968,
"s": 63.786,
"l": 47.647
},
"oklch": {
"l": 0.49528,
"c": 0.22148,
"h": 302
},
"luminance": 0.1021
}Semantic roles & 50–950 ramp
primary
#7C2CC7
secondary
#A6CF80
accent
#E74191
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83