#7F36C0#7F36C0
#7F36C0 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.204 H 304.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7F36C0 |
|---|---|
| RGB | rgb(127, 54, 192) |
| HSL | hsl(272, 56%, 48%) |
| HSV | hsv(272, 72%, 75%) |
| CMYK | cmyk(33.9%, 71.9%, 0%, 24.7%) |
| CIE-LAB | lab(39.51, 56.07, -59.56) |
| CIE-LCH | lch(39.51, 81.80, 313.27°) |
| OKLab | oklab(50.35% 0.1143 -0.1695) |
| OKLCH | oklch(50.35% 0.204 304) |
| XYZ | xyz(19.5838, 10.9562, 50.9420) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.66
Blueviolet
#8A2BE2
ΔE00 4.67
Darkviolet
#9400D3
ΔE00 5.00
Bluey Purple
#6241C7
ΔE00 5.69
Burple
#6832E3
ΔE00 6.14
Bluish Purple
#703BE7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F36C0 #77C036
analogous
#3A36C0 #7F36C0 #C036BC
triadic
#7F36C0 #C07F36 #36C07F
tetradic
#7F36C0 #C03A36 #77C036 #36BCC0
square
#7F36C0 #C03A36 #77C036 #36BCC0
split-complementary
#7F36C0 #BCC036 #36C03A
monochromatic
#401B60 #5F2990 #7F36C0 #9D61D2 #BB90E0
Accessibility & contrast
On white
6.58
#7F36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#7F36C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F36C0
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F36C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F36C0 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#725778
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f36c0; /* rgb */ color: rgb(127, 54, 192); /* oklch */ color: oklch(50.3% 0.204 304.0);
Tailwind
colors: {
custom: {
50: '#a973d4',
500: '#7f36c0',
950: '#000000',
},
}SCSS
$custom: #7f36c0; $custom-light: #a973d4; $custom-dark: #000000;
JSON
{
"hex": "#7f36c0",
"rgb": {
"r": 127,
"g": 54,
"b": 192
},
"hsl": {
"h": 271.739,
"s": 56.098,
"l": 48.235
},
"oklch": {
"l": 0.50349,
"c": 0.20444,
"h": 304
},
"luminance": 0.10956
}Semantic roles & 50–950 ramp
primary
#7F36C0
secondary
#A7CB87
accent
#DF4890
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83