#A275D3
≈ mediumpurple · rgb(162, 117, 211)
Color formats
HEX#A275D3
RGBrgb(162, 117, 211)
HSLhsl(269, 52%, 64%)
HSVhsv(269, 45%, 83%)
OKLCHoklch(65% 0.14 305)
CMYKcmyk(23%, 45%, 0%, 17%)
Contrast & accessibility
On white3.49:1below AA
On black6.02:1AA pass
Best text color#000000
Nearest CSS name: mediumpurple
Copy-ready code
CSS custom properties
:root {
--mediumpurple: #a275d3;
--mediumpurple-rgb: 162 117 211;
--mediumpurple-oklch: oklch(65% 0.14 305);
}The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--mediumpurple-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#a275d3] text-[#a275d3] border-[#a275d3]
Shades & tints
50
#EFECF2
100
#E6E1EC
200
#D5CAE2
300
#C4B0DB
400
#B394D6
500
#A275D3
600
#8046BE
700
#5F358C
800
#3E2559
900
#1D1229
950
#0D0811
Color harmonies
Complementary
#A6D375
Analogous −30°
#7577D3
Analogous +30°
#D175D3
Triadic +120°
#D3A275
Triadic −120°
#75D3A2
About this color
#A275D3 is a color with the RGB value rgb(162, 117, 211). Its closest CSS named color is "mediumpurple". 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.