#7C2AC9#7C2AC9
#7C2AC9 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.225 H 301.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2AC9 |
|---|---|
| RGB | rgb(124, 42, 201) |
| HSL | hsl(271, 65%, 48%) |
| HSV | hsv(271, 79%, 79%) |
| CMYK | cmyk(38.3%, 79.1%, 0%, 21.2%) |
| CIE-LAB | lab(38.12, 62.51, -67.09) |
| CIE-LCH | lch(38.12, 91.69, 312.98°) |
| OKLab | oklab(49.52% 0.1184 -0.1916) |
| OKLCH | oklch(49.52% 0.225 301.7) |
| XYZ | xyz(19.6802, 10.1580, 56.1709) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.04
Blueviolet
#8A2BE2
ΔE00 4.09
Burple
#6832E3
ΔE00 4.84
Purple Blue
#5D21D0
ΔE00 5.20
Purply Blue
#661AEE
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2AC9 #77C92A
analogous
#2C2AC9 #7C2AC9 #C92AC7
triadic
#7C2AC9 #C97C2A #2AC97C
tetradic
#7C2AC9 #C92C2A #77C92A #2AC7C9
square
#7C2AC9 #C92C2A #77C92A #2AC7C9
split-complementary
#7C2AC9 #C7C92A #2AC92C
monochromatic
#3E1564 #5D1F96 #7C2AC9 #9A55DB #B887E6
Accessibility & contrast
On white
6.93
#7C2AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7C2AC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2AC9
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2AC9 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#6B567A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7c2ac9; /* rgb */ color: rgb(124, 42, 201); /* oklch */ color: oklch(49.5% 0.225 301.7);
Tailwind
colors: {
custom: {
50: '#a96edb',
500: '#7c2ac9',
950: '#000000',
},
}SCSS
$custom: #7c2ac9; $custom-light: #a96edb; $custom-dark: #000000;
JSON
{
"hex": "#7c2ac9",
"rgb": {
"r": 124,
"g": 42,
"b": 201
},
"hsl": {
"h": 270.943,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.49515,
"c": 0.22528,
"h": 301.7
},
"luminance": 0.10158
}Semantic roles & 50–950 ramp
primary
#7C2AC9
secondary
#A6D07F
accent
#E83F91
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83