#7F37B3#7F37B3
#7F37B3 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.190 H 307.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F37B3 |
|---|---|
| RGB | rgb(127, 55, 179) |
| HSL | hsl(275, 53%, 46%) |
| HSV | hsv(275, 69%, 70%) |
| CMYK | cmyk(29.1%, 69.3%, 0%, 29.8%) |
| CIE-LAB | lab(38.72, 52.59, -53.18) |
| CIE-LCH | lch(38.72, 74.79, 314.68°) |
| OKLab | oklab(49.5% 0.1153 -0.1507) |
| OKLCH | oklch(49.5% 0.19 307.4) |
| XYZ | xyz(18.2536, 10.4993, 43.7040) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.34
Purple (survey)
#7E1E9C
ΔE00 5.60
Rebeccapurple
#663399
ΔE00 5.68
Purply
#983FB2
ΔE00 5.69
Darkviolet
#9400D3
ΔE00 5.99
Blueviolet
#8A2BE2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F37B3 #6BB337
analogous
#4137B3 #7F37B3 #B337A9
triadic
#7F37B3 #B37F37 #37B37F
tetradic
#7F37B3 #B34137 #6BB337 #37A9B3
square
#7F37B3 #B34137 #6BB337 #37A9B3
split-complementary
#7F37B3 #A9B337 #37B341
monochromatic
#3D1A55 #5E2984 #7F37B3 #9D5BCD #B98ADB
Accessibility & contrast
On white
6.77
#7F37B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#7F37B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F37B3
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F37B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F37B3 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#165CB0
Tritanopia (blue-blind)
#775371
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7f37b3; /* rgb */ color: rgb(127, 55, 179); /* oklch */ color: oklch(49.5% 0.190 307.4);
Tailwind
colors: {
custom: {
50: '#a873ca',
500: '#7f37b3',
950: '#000000',
},
}SCSS
$custom: #7f37b3; $custom-light: #a873ca; $custom-dark: #000000;
JSON
{
"hex": "#7f37b3",
"rgb": {
"r": 127,
"g": 55,
"b": 179
},
"hsl": {
"h": 274.839,
"s": 52.991,
"l": 45.882
},
"oklch": {
"l": 0.49495,
"c": 0.18976,
"h": 307.4
},
"luminance": 0.10499
}Semantic roles & 50–950 ramp
primary
#7F37B3
secondary
#9DC581
accent
#DC4B88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82