#7A2CC1#7A2CC1
#7A2CC1 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.215 H 302.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CC1 |
|---|---|
| RGB | rgb(122, 44, 193) |
| HSL | hsl(271, 63%, 46%) |
| HSV | hsv(271, 77%, 76%) |
| CMYK | cmyk(36.8%, 77.2%, 0%, 24.3%) |
| CIE-LAB | lab(37.46, 59.59, -63.51) |
| CIE-LCH | lch(37.46, 87.09, 313.18°) |
| OKLab | oklab(48.79% 0.1162 -0.1812) |
| OKLCH | oklch(48.79% 0.215 302.7) |
| XYZ | xyz(18.5501, 9.7892, 51.3540) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.62
Blueviolet
#8A2BE2
ΔE00 5.06
Purple Blue
#5D21D0
ΔE00 5.37
Burple
#6832E3
ΔE00 5.58
Bluey Purple
#6241C7
ΔE00 5.78
Darkorchid
#9932CC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CC1 #73C12C
analogous
#2F2CC1 #7A2CC1 #C12CBE
triadic
#7A2CC1 #C17A2C #2CC17A
tetradic
#7A2CC1 #C12F2C #73C12C #2CBEC1
square
#7A2CC1 #C12F2C #73C12C #2CBEC1
split-complementary
#7A2CC1 #BEC12C #2CC12F
monochromatic
#3B155D #5A218F #7A2CC1 #9853D8 #B684E3
Accessibility & contrast
On white
7.10
#7A2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#7A2CC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CC1
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CC1 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#6B5376
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7a2cc1; /* rgb */ color: rgb(122, 44, 193); /* oklch */ color: oklch(48.8% 0.215 302.7);
Tailwind
colors: {
custom: {
50: '#a76ed5',
500: '#7a2cc1',
950: '#000000',
},
}SCSS
$custom: #7a2cc1; $custom-light: #a76ed5; $custom-dark: #000000;
JSON
{
"hex": "#7a2cc1",
"rgb": {
"r": 122,
"g": 44,
"b": 193
},
"hsl": {
"h": 271.409,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.48791,
"c": 0.21523,
"h": 302.7
},
"luminance": 0.09789
}Semantic roles & 50–950 ramp
primary
#7A2CC1
secondary
#A3CC7D
accent
#E64290
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83