#7F37C5#7F37C5
#7F37C5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.208 H 302.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F37C5 |
|---|---|
| RGB | rgb(127, 55, 197) |
| HSL | hsl(270, 56%, 49%) |
| HSV | hsv(270, 72%, 77%) |
| CMYK | cmyk(35.5%, 72.1%, 0%, 22.7%) |
| CIE-LAB | lab(40.04, 56.80, -61.61) |
| CIE-LCH | lch(40.04, 83.80, 312.67°) |
| OKLab | oklab(50.85% 0.1124 -0.1755) |
| OKLCH | oklch(50.85% 0.208 302.6) |
| XYZ | xyz(20.1942, 11.2756, 53.9250) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.04
Darkorchid
#9932CC
ΔE00 4.54
Darkviolet
#9400D3
ΔE00 4.97
Bluey Purple
#6241C7
ΔE00 5.35
Bluish Purple
#703BE7
ΔE00 5.45
Burple
#6832E3
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F37C5 #7DC537
analogous
#3837C5 #7F37C5 #C537C4
triadic
#7F37C5 #C57F37 #37C57F
tetradic
#7F37C5 #C53837 #7DC537 #37C4C5
square
#7F37C5 #C53837 #7DC537 #37C4C5
split-complementary
#7F37C5 #C4C537 #37C538
monochromatic
#411C65 #602A95 #7F37C5 #9D65D4 #BC95E1
Accessibility & contrast
On white
6.45
#7F37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7F37C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F37C5
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F37C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F37C5 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#715A7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f37c5; /* rgb */ color: rgb(127, 55, 197); /* oklch */ color: oklch(50.8% 0.208 302.6);
Tailwind
colors: {
custom: {
50: '#aa74d7',
500: '#7f37c5',
950: '#000000',
},
}SCSS
$custom: #7f37c5; $custom-light: #aa74d7; $custom-dark: #000000;
JSON
{
"hex": "#7f37c5",
"rgb": {
"r": 127,
"g": 55,
"b": 197
},
"hsl": {
"h": 270.423,
"s": 56.349,
"l": 49.412
},
"oklch": {
"l": 0.50846,
"c": 0.20846,
"h": 302.6
},
"luminance": 0.11276
}Semantic roles & 50–950 ramp
primary
#7F37C5
secondary
#ABCD8B
accent
#E04893
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83