#7C2DC2#7C2DC2
#7C2DC2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.216 H 303.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2DC2 |
|---|---|
| RGB | rgb(124, 45, 194) |
| HSL | hsl(272, 62%, 47%) |
| HSV | hsv(272, 77%, 76%) |
| CMYK | cmyk(36.1%, 76.8%, 0%, 23.9%) |
| CIE-LAB | lab(37.94, 59.76, -63.29) |
| CIE-LCH | lch(37.94, 87.05, 313.36°) |
| OKLab | oklab(49.21% 0.1179 -0.1805) |
| OKLCH | oklch(49.21% 0.216 303.2) |
| XYZ | xyz(18.9859, 10.0569, 51.9694) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.40
Blueviolet
#8A2BE2
ΔE00 4.75
Burple
#6832E3
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 5.60
Purple Blue
#5D21D0
ΔE00 5.70
Bluey Purple
#6241C7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2DC2 #73C22D
analogous
#322DC2 #7C2DC2 #C22DBE
triadic
#7C2DC2 #C27C2D #2DC27C
tetradic
#7C2DC2 #C2322D #73C22D #2DBEC2
square
#7C2DC2 #C2322D #73C22D #2DBEC2
split-complementary
#7C2DC2 #BEC22D #2DC232
monochromatic
#3C165F #5C2190 #7C2DC2 #9A55D7 #B786E3
Accessibility & contrast
On white
6.97
#7C2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#7C2DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2DC2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2DC2 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#6E5477
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7c2dc2; /* rgb */ color: rgb(124, 45, 194); /* oklch */ color: oklch(49.2% 0.216 303.2);
Tailwind
colors: {
custom: {
50: '#a86fd5',
500: '#7c2dc2',
950: '#000000',
},
}SCSS
$custom: #7c2dc2; $custom-light: #a86fd5; $custom-dark: #000000;
JSON
{
"hex": "#7c2dc2",
"rgb": {
"r": 124,
"g": 45,
"b": 194
},
"hsl": {
"h": 271.812,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.49211,
"c": 0.2156,
"h": 303.2
},
"luminance": 0.10057
}Semantic roles & 50–950 ramp
primary
#7C2DC2
secondary
#A3CD7E
accent
#E5428F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83