#7F36C3#7F36C3
#7F36C3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.208 H 303.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7F36C3 |
|---|---|
| RGB | rgb(127, 54, 195) |
| HSL | hsl(271, 57%, 49%) |
| HSV | hsv(271, 72%, 76%) |
| CMYK | cmyk(34.9%, 72.3%, 0%, 23.5%) |
| CIE-LAB | lab(39.73, 56.77, -60.95) |
| CIE-LCH | lch(39.73, 83.29, 312.97°) |
| OKLab | oklab(50.58% 0.1138 -0.1736) |
| OKLCH | oklch(50.58% 0.208 303.2) |
| XYZ | xyz(19.9196, 11.0905, 52.7104) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 4.59
Darkviolet
#9400D3
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 5.50
Burple
#6832E3
ΔE00 5.76
Bluish Purple
#703BE7
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F36C3 #7AC336
analogous
#3936C3 #7F36C3 #C336C1
triadic
#7F36C3 #C37F36 #36C37F
tetradic
#7F36C3 #C33936 #7AC336 #36C1C3
square
#7F36C3 #C33936 #7AC336 #36C1C3
split-complementary
#7F36C3 #C1C336 #36C339
monochromatic
#411B63 #602993 #7F36C3 #9D63D4 #BB92E1
Accessibility & contrast
On white
6.53
#7F36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7F36C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F36C3
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F36C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F36C3 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#715879
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f36c3; /* rgb */ color: rgb(127, 54, 195); /* oklch */ color: oklch(50.6% 0.208 303.2);
Tailwind
colors: {
custom: {
50: '#aa74d6',
500: '#7f36c3',
950: '#000000',
},
}SCSS
$custom: #7f36c3; $custom-light: #aa74d6; $custom-dark: #000000;
JSON
{
"hex": "#7f36c3",
"rgb": {
"r": 127,
"g": 54,
"b": 195
},
"hsl": {
"h": 271.064,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.5058,
"c": 0.20754,
"h": 303.2
},
"luminance": 0.1109
}Semantic roles & 50–950 ramp
primary
#7F36C3
secondary
#A9CC89
accent
#E04891
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83