#7C2DC0#7C2DC0
#7C2DC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.214 H 303.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2DC0 |
|---|---|
| RGB | rgb(124, 45, 192) |
| HSL | hsl(272, 62%, 46%) |
| HSV | hsv(272, 77%, 75%) |
| CMYK | cmyk(35.4%, 76.6%, 0%, 24.7%) |
| CIE-LAB | lab(37.78, 59.30, -62.38) |
| CIE-LCH | lch(37.78, 86.07, 313.55°) |
| OKLab | oklab(49.05% 0.1184 -0.1778) |
| OKLCH | oklch(49.05% 0.214 303.7) |
| XYZ | xyz(18.7628, 9.9677, 50.7944) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 5.00
Darkorchid
#9932CC
ΔE00 5.65
Purple Blue
#5D21D0
ΔE00 5.82
Burple
#6832E3
ΔE00 5.86
Bluey Purple
#6241C7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2DC0 #71C02D
analogous
#332DC0 #7C2DC0 #C02DBB
triadic
#7C2DC0 #C07C2D #2DC07C
tetradic
#7C2DC0 #C0332D #71C02D #2DBBC0
square
#7C2DC0 #C0332D #71C02D #2DBBC0
split-complementary
#7C2DC0 #BBC02D #2DC033
monochromatic
#3C165D #5C218E #7C2DC0 #9A53D7 #B785E2
Accessibility & contrast
On white
7.01
#7C2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#7C2DC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2DC0
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2DC0 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6E5375
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7c2dc0; /* rgb */ color: rgb(124, 45, 192); /* oklch */ color: oklch(49.0% 0.214 303.7);
Tailwind
colors: {
custom: {
50: '#a86fd4',
500: '#7c2dc0',
950: '#000000',
},
}SCSS
$custom: #7c2dc0; $custom-light: #a86fd4; $custom-dark: #000000;
JSON
{
"hex": "#7c2dc0",
"rgb": {
"r": 124,
"g": 45,
"b": 192
},
"hsl": {
"h": 272.245,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.49049,
"c": 0.21363,
"h": 303.7
},
"luminance": 0.09968
}Semantic roles & 50–950 ramp
primary
#7C2DC0
secondary
#A1CC7D
accent
#E5438E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83