#7F36C5#7F36C5
#7F36C5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.210 H 302.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F36C5 |
|---|---|
| RGB | rgb(127, 54, 197) |
| HSL | hsl(271, 57%, 49%) |
| HSV | hsv(271, 73%, 77%) |
| CMYK | cmyk(35.5%, 72.6%, 0%, 22.7%) |
| CIE-LAB | lab(39.88, 57.24, -61.87) |
| CIE-LCH | lch(39.88, 84.29, 312.78°) |
| OKLab | oklab(50.74% 0.1134 -0.1763) |
| OKLCH | oklch(50.74% 0.21 302.8) |
| XYZ | xyz(20.1472, 11.1816, 53.9093) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.02
Darkorchid
#9932CC
ΔE00 4.57
Darkviolet
#9400D3
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 5.40
Bluish Purple
#703BE7
ΔE00 5.49
Burple
#6832E3
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F36C5 #7CC536
analogous
#3736C5 #7F36C5 #C536C4
triadic
#7F36C5 #C57F36 #36C57F
tetradic
#7F36C5 #C53736 #7CC536 #36C4C5
square
#7F36C5 #C53736 #7CC536 #36C4C5
split-complementary
#7F36C5 #C4C536 #36C537
monochromatic
#411C65 #602995 #7F36C5 #9D64D4 #BC94E2
Accessibility & contrast
On white
6.49
#7F36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#7F36C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F36C5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F36C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F36C5 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#71597A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f36c5; /* rgb */ color: rgb(127, 54, 197); /* oklch */ color: oklch(50.7% 0.210 302.8);
Tailwind
colors: {
custom: {
50: '#aa74d8',
500: '#7f36c5',
950: '#000000',
},
}SCSS
$custom: #7f36c5; $custom-light: #aa74d8; $custom-dark: #000000;
JSON
{
"hex": "#7f36c5",
"rgb": {
"r": 127,
"g": 54,
"b": 197
},
"hsl": {
"h": 270.629,
"s": 56.972,
"l": 49.216
},
"oklch": {
"l": 0.50735,
"c": 0.2096,
"h": 302.8
},
"luminance": 0.11182
}Semantic roles & 50–950 ramp
primary
#7F36C5
secondary
#ABCD8A
accent
#E04892
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83