#7C2DC1#7C2DC1
#7C2DC1 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.215 H 303.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2DC1 |
|---|---|
| RGB | rgb(124, 45, 193) |
| HSL | hsl(272, 62%, 47%) |
| HSV | hsv(272, 77%, 76%) |
| CMYK | cmyk(35.8%, 76.7%, 0%, 24.3%) |
| CIE-LAB | lab(37.86, 59.53, -62.84) |
| CIE-LCH | lch(37.86, 86.56, 313.45°) |
| OKLab | oklab(49.13% 0.1181 -0.1792) |
| OKLCH | oklch(49.13% 0.215 303.4) |
| XYZ | xyz(18.8739, 10.0121, 51.3799) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 4.87
Darkorchid
#9932CC
ΔE00 5.63
Burple
#6832E3
ΔE00 5.73
Purple Blue
#5D21D0
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2DC1 #72C12D
analogous
#322DC1 #7C2DC1 #C12DBC
triadic
#7C2DC1 #C17C2D #2DC17C
tetradic
#7C2DC1 #C1322D #72C12D #2DBCC1
square
#7C2DC1 #C1322D #72C12D #2DBCC1
split-complementary
#7C2DC1 #BCC12D #2DC132
monochromatic
#3C165E #5C218F #7C2DC1 #9A54D7 #B786E3
Accessibility & contrast
On white
6.99
#7C2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#7C2DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2DC1
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2DC1 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#6E5376
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7c2dc1; /* rgb */ color: rgb(124, 45, 193); /* oklch */ color: oklch(49.1% 0.215 303.4);
Tailwind
colors: {
custom: {
50: '#a86fd5',
500: '#7c2dc1',
950: '#000000',
},
}SCSS
$custom: #7c2dc1; $custom-light: #a86fd5; $custom-dark: #000000;
JSON
{
"hex": "#7c2dc1",
"rgb": {
"r": 124,
"g": 45,
"b": 193
},
"hsl": {
"h": 272.027,
"s": 62.185,
"l": 46.667
},
"oklch": {
"l": 0.4913,
"c": 0.21461,
"h": 303.4
},
"luminance": 0.10012
}Semantic roles & 50–950 ramp
primary
#7C2DC1
secondary
#A2CC7E
accent
#E5438E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83