#7F37C0#7F37C0
#7F37C0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.203 H 303.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7F37C0 |
|---|---|
| RGB | rgb(127, 55, 192) |
| HSL | hsl(272, 55%, 48%) |
| HSV | hsv(272, 71%, 75%) |
| CMYK | cmyk(33.9%, 71.4%, 0%, 24.7%) |
| CIE-LAB | lab(39.66, 55.62, -59.31) |
| CIE-LCH | lch(39.66, 81.31, 313.16°) |
| OKLab | oklab(50.46% 0.1133 -0.1687) |
| OKLCH | oklch(50.46% 0.203 303.9) |
| XYZ | xyz(19.6308, 11.0502, 50.9577) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.63
Blueviolet
#8A2BE2
ΔE00 4.68
Darkviolet
#9400D3
ΔE00 5.12
Bluey Purple
#6241C7
ΔE00 5.63
Bluish Purple
#703BE7
ΔE00 6.16
Burple
#6832E3
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F37C0 #78C037
analogous
#3A37C0 #7F37C0 #C037BC
triadic
#7F37C0 #C07F37 #37C07F
tetradic
#7F37C0 #C03A37 #78C037 #37BCC0
square
#7F37C0 #C03A37 #78C037 #37BCC0
split-complementary
#7F37C0 #BCC037 #37C03A
monochromatic
#401C61 #602990 #7F37C0 #9D62D2 #BB92E0
Accessibility & contrast
On white
6.54
#7F37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#7F37C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F37C0
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F37C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F37C0 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#725878
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f37c0; /* rgb */ color: rgb(127, 55, 192); /* oklch */ color: oklch(50.5% 0.203 303.9);
Tailwind
colors: {
custom: {
50: '#a974d4',
500: '#7f37c0',
950: '#000000',
},
}SCSS
$custom: #7f37c0; $custom-light: #a974d4; $custom-dark: #000000;
JSON
{
"hex": "#7f37c0",
"rgb": {
"r": 127,
"g": 55,
"b": 192
},
"hsl": {
"h": 271.533,
"s": 55.466,
"l": 48.431
},
"oklch": {
"l": 0.50462,
"c": 0.20327,
"h": 303.9
},
"luminance": 0.1105
}Semantic roles & 50–950 ramp
primary
#7F37C0
secondary
#A8CB88
accent
#DF4990
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83