#7A36AE#7A36AE
#7A36AE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.184 H 306.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7A36AE |
|---|---|
| RGB | rgb(122, 54, 174) |
| HSL | hsl(274, 53%, 45%) |
| HSV | hsv(274, 69%, 68%) |
| CMYK | cmyk(29.9%, 69%, 0%, 31.8%) |
| CIE-LAB | lab(37.54, 50.85, -52.16) |
| CIE-LCH | lch(37.54, 72.84, 314.27°) |
| OKLab | oklab(48.39% 0.1102 -0.1479) |
| OKLCH | oklch(48.39% 0.184 306.7) |
| XYZ | xyz(16.9836, 9.8321, 41.0393) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.55
Purple (survey)
#7E1E9C
ΔE00 5.03
Darkorchid
#9932CC
ΔE00 6.45
Purply
#983FB2
ΔE00 6.55
Darkviolet
#9400D3
ΔE00 6.67
Bluey Purple
#6241C7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A36AE #6AAE36
analogous
#3E36AE #7A36AE #AE36A6
triadic
#7A36AE #AE7A36 #36AE7A
tetradic
#7A36AE #AE3E36 #6AAE36 #36A6AE
square
#7A36AE #AE3E36 #6AAE36 #36A6AE
split-complementary
#7A36AE #A6AE36 #36AE3E
monochromatic
#391951 #59287F #7A36AE #9856CB #B585D9
Accessibility & contrast
On white
7.08
#7A36AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#7A36AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A36AE
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A36AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A36AE | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#1359AB
Tritanopia (blue-blind)
#71516E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7a36ae; /* rgb */ color: rgb(122, 54, 174); /* oklch */ color: oklch(48.4% 0.184 306.7);
Tailwind
colors: {
custom: {
50: '#a572c7',
500: '#7a36ae',
950: '#000000',
},
}SCSS
$custom: #7a36ae; $custom-light: #a572c7; $custom-dark: #000000;
JSON
{
"hex": "#7a36ae",
"rgb": {
"r": 122,
"g": 54,
"b": 174
},
"hsl": {
"h": 274,
"s": 52.632,
"l": 44.706
},
"oklch": {
"l": 0.48394,
"c": 0.18443,
"h": 306.7
},
"luminance": 0.09832
}Semantic roles & 50–950 ramp
primary
#7A36AE
secondary
#9BC37D
accent
#DC4C8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82