#7A36BA#7A36BA
#7A36BA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.197 H 303.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7A36BA |
|---|---|
| RGB | rgb(122, 54, 186) |
| HSL | hsl(271, 55%, 47%) |
| HSV | hsv(271, 71%, 73%) |
| CMYK | cmyk(34.4%, 71%, 0%, 27.1%) |
| CIE-LAB | lab(38.41, 53.69, -57.85) |
| CIE-LCH | lch(38.41, 78.92, 312.86°) |
| OKLab | oklab(49.29% 0.1084 -0.1646) |
| OKLCH | oklch(49.29% 0.197 303.4) |
| XYZ | xyz(18.2061, 10.3211, 47.4779) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.41
Blueviolet
#8A2BE2
ΔE00 5.68
Darkorchid
#9932CC
ΔE00 5.71
Darkviolet
#9400D3
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 5.81
Burple
#6832E3
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A36BA #76BA36
analogous
#3836BA #7A36BA #BA36B8
triadic
#7A36BA #BA7A36 #36BA7A
tetradic
#7A36BA #BA3836 #76BA36 #36B8BA
square
#7A36BA #BA3836 #76BA36 #36B8BA
split-complementary
#7A36BA #B8BA36 #36BA38
monochromatic
#3C1A5B #5B288B #7A36BA #985DD0 #B68DDE
Accessibility & contrast
On white
6.85
#7A36BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#7A36BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A36BA
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A36BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A36BA | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#6D5574
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7a36ba; /* rgb */ color: rgb(122, 54, 186); /* oklch */ color: oklch(49.3% 0.197 303.4);
Tailwind
colors: {
custom: {
50: '#a673d0',
500: '#7a36ba',
950: '#000000',
},
}SCSS
$custom: #7a36ba; $custom-light: #a673d0; $custom-dark: #000000;
JSON
{
"hex": "#7a36ba",
"rgb": {
"r": 122,
"g": 54,
"b": 186
},
"hsl": {
"h": 270.909,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.49292,
"c": 0.19712,
"h": 303.4
},
"luminance": 0.10321
}Semantic roles & 50–950 ramp
primary
#7A36BA
secondary
#A5C884
accent
#DE4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82