#7A2CAC#7A2CAC
#7A2CAC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.195 H 308.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CAC |
|---|---|
| RGB | rgb(122, 44, 172) |
| HSL | hsl(277, 59%, 42%) |
| HSV | hsv(277, 74%, 67%) |
| CMYK | cmyk(29.1%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(35.83, 54.81, -53.74) |
| CIE-LCH | lch(35.83, 76.76, 315.56°) |
| OKLab | oklab(47.13% 0.1207 -0.1525) |
| OKLCH | oklch(47.13% 0.195 308.4) |
| XYZ | xyz(16.3716, 8.9178, 39.8806) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.55
Rebeccapurple
#663399
ΔE00 4.35
Darkviolet
#9400D3
ΔE00 6.28
Darkorchid
#9932CC
ΔE00 7.14
Purple Blue
#5D21D0
ΔE00 7.45
Purply
#983FB2
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CAC #5EAC2C
analogous
#3A2CAC #7A2CAC #AC2C9E
triadic
#7A2CAC #AC7A2C #2CAC7A
tetradic
#7A2CAC #AC3A2C #5EAC2C #2C9EAC
square
#7A2CAC #AC3A2C #5EAC2C #2C9EAC
split-complementary
#7A2CAC #9EAC2C #2CAC3A
monochromatic
#35134B #57207B #7A2CAC #9A46D0 #B476DC
Accessibility & contrast
On white
7.54
#7A2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#7A2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CAC
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CAC | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#724A6A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7a2cac; /* rgb */ color: rgb(122, 44, 172); /* oklch */ color: oklch(47.1% 0.195 308.4);
Tailwind
colors: {
custom: {
50: '#a56dc6',
500: '#7a2cac',
950: '#000000',
},
}SCSS
$custom: #7a2cac; $custom-light: #a56dc6; $custom-dark: #000000;
JSON
{
"hex": "#7a2cac",
"rgb": {
"r": 122,
"g": 44,
"b": 172
},
"hsl": {
"h": 276.563,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.47129,
"c": 0.19452,
"h": 308.4
},
"luminance": 0.08917
}Semantic roles & 50–950 ramp
primary
#7A2CAC
secondary
#91C470
accent
#E24583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82