#7F36C4#7F36C4
#7F36C4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.209 H 303.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F36C4 |
|---|---|
| RGB | rgb(127, 54, 196) |
| HSL | hsl(271, 57%, 49%) |
| HSV | hsv(271, 72%, 77%) |
| CMYK | cmyk(35.2%, 72.4%, 0%, 23.1%) |
| CIE-LAB | lab(39.81, 57.01, -61.41) |
| CIE-LCH | lch(39.81, 83.79, 312.87°) |
| OKLab | oklab(50.66% 0.1136 -0.1749) |
| OKLCH | oklch(50.66% 0.209 303) |
| XYZ | xyz(20.0330, 11.1359, 53.3079) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.14
Darkorchid
#9932CC
ΔE00 4.58
Darkviolet
#9400D3
ΔE00 4.86
Bluey Purple
#6241C7
ΔE00 5.45
Bluish Purple
#703BE7
ΔE00 5.63
Burple
#6832E3
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F36C4 #7BC436
analogous
#3836C4 #7F36C4 #C436C2
triadic
#7F36C4 #C47F36 #36C47F
tetradic
#7F36C4 #C43836 #7BC436 #36C2C4
square
#7F36C4 #C43836 #7BC436 #36C2C4
split-complementary
#7F36C4 #C2C436 #36C438
monochromatic
#411C64 #602994 #7F36C4 #9D63D4 #BB93E1
Accessibility & contrast
On white
6.51
#7F36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7F36C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F36C4
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F36C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F36C4 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#71597A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f36c4; /* rgb */ color: rgb(127, 54, 196); /* oklch */ color: oklch(50.7% 0.209 303.0);
Tailwind
colors: {
custom: {
50: '#aa74d7',
500: '#7f36c4',
950: '#000000',
},
}SCSS
$custom: #7f36c4; $custom-light: #aa74d7; $custom-dark: #000000;
JSON
{
"hex": "#7f36c4",
"rgb": {
"r": 127,
"g": 54,
"b": 196
},
"hsl": {
"h": 270.845,
"s": 56.8,
"l": 49.02
},
"oklch": {
"l": 0.50658,
"c": 0.20857,
"h": 303
},
"luminance": 0.11136
}Semantic roles & 50–950 ramp
primary
#7F36C4
secondary
#AACC89
accent
#E04892
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83