#7F36C9#7F36C9
#7F36C9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.214 H 301.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7F36C9 |
|---|---|
| RGB | rgb(127, 54, 201) |
| HSL | hsl(270, 58%, 50%) |
| HSV | hsv(270, 73%, 79%) |
| CMYK | cmyk(36.8%, 73.1%, 0%, 21.2%) |
| CIE-LAB | lab(40.19, 58.19, -63.70) |
| CIE-LCH | lch(40.19, 86.27, 312.41°) |
| OKLab | oklab(51.05% 0.1126 -0.1816) |
| OKLCH | oklch(51.05% 0.214 301.8) |
| XYZ | xyz(20.6116, 11.3673, 56.3552) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.53
Darkorchid
#9932CC
ΔE00 4.57
Darkviolet
#9400D3
ΔE00 4.79
Bluish Purple
#703BE7
ΔE00 4.96
Burple
#6832E3
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F36C9 #80C936
analogous
#3636C9 #7F36C9 #C936C9
triadic
#7F36C9 #C97F36 #36C97F
tetradic
#7F36C9 #C93636 #80C936 #36C9C9
square
#7F36C9 #C93636 #80C936 #36C9C9
split-complementary
#7F36C9 #C9C936 #36C936
monochromatic
#421C69 #612999 #7F36C9 #9E66D6 #BC96E3
Accessibility & contrast
On white
6.42
#7F36C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#7F36C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F36C9
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F36C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F36C9 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#6F5B7D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f36c9; /* rgb */ color: rgb(127, 54, 201); /* oklch */ color: oklch(51.0% 0.214 301.8);
Tailwind
colors: {
custom: {
50: '#aa74da',
500: '#7f36c9',
950: '#000000',
},
}SCSS
$custom: #7f36c9; $custom-light: #aa74da; $custom-dark: #000000;
JSON
{
"hex": "#7f36c9",
"rgb": {
"r": 127,
"g": 54,
"b": 201
},
"hsl": {
"h": 269.796,
"s": 57.647,
"l": 50
},
"oklch": {
"l": 0.51049,
"c": 0.21371,
"h": 301.8
},
"luminance": 0.11367
}Semantic roles & 50–950 ramp
primary
#7F36C9
secondary
#AECE8C
accent
#E14794
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83