#7E36B9#7E36B9
#7E36B9 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.197 H 305.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E36B9 |
|---|---|
| RGB | rgb(126, 54, 185) |
| HSL | hsl(273, 55%, 47%) |
| HSV | hsv(273, 71%, 73%) |
| CMYK | cmyk(31.9%, 70.8%, 0%, 27.5%) |
| CIE-LAB | lab(38.86, 54.24, -56.51) |
| CIE-LCH | lch(38.86, 78.33, 313.82°) |
| OKLab | oklab(49.7% 0.1141 -0.1606) |
| OKLCH | oklch(49.7% 0.197 305.4) |
| XYZ | xyz(18.6784, 10.5769, 46.9471) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.12
Darkviolet
#9400D3
ΔE00 5.47
Blueviolet
#8A2BE2
ΔE00 5.66
Rebeccapurple
#663399
ΔE00 6.08
Bluey Purple
#6241C7
ΔE00 6.09
Purple (survey)
#7E1E9C
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E36B9 #71B936
analogous
#3C36B9 #7E36B9 #B936B3
triadic
#7E36B9 #B97E36 #36B97E
tetradic
#7E36B9 #B93C36 #71B936 #36B3B9
square
#7E36B9 #B93C36 #71B936 #36B3B9
split-complementary
#7E36B9 #B3B936 #36B93C
monochromatic
#3D1A5A #5E288A #7E36B9 #9C5DD0 #B98CDD
Accessibility & contrast
On white
6.74
#7E36B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7E36B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E36B9
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E36B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E36B9 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#735474
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7e36b9; /* rgb */ color: rgb(126, 54, 185); /* oklch */ color: oklch(49.7% 0.197 305.4);
Tailwind
colors: {
custom: {
50: '#a873cf',
500: '#7e36b9',
950: '#000000',
},
}SCSS
$custom: #7e36b9; $custom-light: #a873cf; $custom-dark: #000000;
JSON
{
"hex": "#7e36b9",
"rgb": {
"r": 126,
"g": 54,
"b": 185
},
"hsl": {
"h": 272.977,
"s": 54.812,
"l": 46.863
},
"oklch": {
"l": 0.49698,
"c": 0.19697,
"h": 305.4
},
"luminance": 0.10577
}Semantic roles & 50–950 ramp
primary
#7E36B9
secondary
#A2C883
accent
#DE4A8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82