#983679
≈ mediumvioletred · rgb(152, 54, 121)
Color formats
HEX#983679
RGBrgb(152, 54, 121)
HSLhsl(319, 48%, 40%)
HSVhsv(319, 64%, 60%)
OKLCHoklch(49% 0.15 342)
CMYKcmyk(0%, 64%, 20%, 40%)
Contrast & accessibility
On white6.69:1AA pass
On black3.14:1below AA
Best text color#FFFFFF
Nearest CSS name: mediumvioletred
Copy-ready code
CSS custom properties
:root {
--mediumvioletred: #983679;
--mediumvioletred-rgb: 152 54 121;
--mediumvioletred-oklch: oklch(49% 0.15 342);
}The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--mediumvioletred-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#983679] text-[#983679] border-[#983679]
Shades & tints
50
#EDE5EA
100
#E2D3DD
200
#D0ACC4
300
#C180AD
400
#B65196
500
#983679
600
#782E60
700
#592548
800
#3B1B31
900
#1F0F1A
950
#11090E
Color harmonies
Complementary
#369855
Analogous −30°
#863698
Analogous +30°
#983648
Triadic +120°
#799836
Triadic −120°
#367998
About this color
#983679 is a color with the RGB value rgb(152, 54, 121). Its closest CSS named color is "mediumvioletred". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.