#C052C7
≈ mediumorchid · rgb(192, 82, 199)
Color formats
HEX#C052C7
RGBrgb(192, 82, 199)
HSLhsl(296, 51%, 55%)
HSVhsv(296, 59%, 78%)
OKLCHoklch(62% 0.2 325)
CMYKcmyk(4%, 59%, 0%, 22%)
Contrast & accessibility
On white3.98:1below AA
On black5.27:1AA pass
Best text color#000000
Nearest CSS name: mediumorchid
Copy-ready code
CSS custom properties
:root {
--mediumorchid: #c052c7;
--mediumorchid-rgb: 192 82 199;
--mediumorchid-oklch: oklch(62% 0.2 325);
}The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--mediumorchid-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#c052c7] text-[#c052c7] border-[#c052c7]
Shades & tints
50
#F0E9F0
100
#E8DBE9
200
#DABEDC
300
#CE9DD2
400
#C679CB
500
#C052C7
600
#9F3BA6
700
#742F79
800
#4B214E
900
#241125
950
#110811
Color harmonies
Complementary
#59C752
Analogous −30°
#8552C7
Analogous +30°
#C75294
Triadic +120°
#C7C052
Triadic −120°
#52C7C0
About this color
#C052C7 is a color with the RGB value rgb(192, 82, 199). Its closest CSS named color is "mediumorchid". 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.