#7A2CAD#7A2CAD
#7A2CAD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.196 H 308.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CAD |
|---|---|
| RGB | rgb(122, 44, 173) |
| HSL | hsl(276, 59%, 43%) |
| HSV | hsv(276, 75%, 68%) |
| CMYK | cmyk(29.5%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(35.90, 55.04, -54.22) |
| CIE-LCH | lch(35.90, 77.26, 315.43°) |
| OKLab | oklab(47.21% 0.1206 -0.1539) |
| OKLCH | oklch(47.21% 0.196 308.1) |
| XYZ | xyz(16.4680, 8.9563, 40.3883) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.69
Rebeccapurple
#663399
ΔE00 4.42
Darkviolet
#9400D3
ΔE00 6.17
Darkorchid
#9932CC
ΔE00 7.06
Purple Blue
#5D21D0
ΔE00 7.32
Purply
#983FB2
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CAD #5FAD2C
analogous
#392CAD #7A2CAD #AD2CA0
triadic
#7A2CAD #AD7A2C #2CAD7A
tetradic
#7A2CAD #AD392C #5FAD2C #2CA0AD
square
#7A2CAD #AD392C #5FAD2C #2CA0AD
split-complementary
#7A2CAD #A0AD2C #2CAD39
monochromatic
#35134B #58207C #7A2CAD #9A46D0 #B477DC
Accessibility & contrast
On white
7.52
#7A2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#7A2CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CAD
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CAD | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#724B6A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7a2cad; /* rgb */ color: rgb(122, 44, 173); /* oklch */ color: oklch(47.2% 0.196 308.1);
Tailwind
colors: {
custom: {
50: '#a56dc6',
500: '#7a2cad',
950: '#000000',
},
}SCSS
$custom: #7a2cad; $custom-light: #a56dc6; $custom-dark: #000000;
JSON
{
"hex": "#7a2cad",
"rgb": {
"r": 122,
"g": 44,
"b": 173
},
"hsl": {
"h": 276.279,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.47205,
"c": 0.19551,
"h": 308.1
},
"luminance": 0.08956
}Semantic roles & 50–950 ramp
primary
#7A2CAD
secondary
#92C471
accent
#E34583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82