Skip to content

#AD21D4 Color

#AD21D4 is rgb(173, 33, 212) in RGB, hsl(287, 73%, 48%) in HSL, and about cmyk(18%, 84%, 0%, 17%) in CMYK. It has no registered color name of its own — the closest is Purple (Munsell) (#9F00C5), clearly related but distinguishable side by side at ΔE 5.05. White text is the more readable choice on this background.

#AD21D4
HEX#AD21D4
RGBrgb(173, 33, 212)
HSLhsl(287, 73%, 48%)
HSVhsv(287, 84%, 83%)
CMYKcmyk(18%, 84%, 0%, 17%)
OKLCHoklch(56.2% 0.255 317)
LABlab(44.77% 70.05 -61.88)
LCHlch(44.77% 93.47 318.54)

What #AD21D4 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #AD21D4, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every purple in the library.

#AD21D4 Channel Values

How #AD21D4 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 173 · G 33 · B 2128-bit channels as sent to the display
HSLH 287° · S 73% · L 48%Easiest model for building lighter and darker variants
HSVH 287° · S 84% · V 83%Matches the picker in most design tools
CMYKC 18% · M 84% · Y 0% · K 17%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.32:1 vs white · 3.95:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AD21D4 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text5.32:1AA normal AA large AAA normal
Fails AABlack text3.95:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #AD21D4 in the contrast checker.

Colors That Go With #AD21D4

Pairings derived from color-wheel relationships. The complementary color sits opposite #AD21D4; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #AD21D4

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #AD21D4.

How #AD21D4 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#AD21D4
Protanopia#5252D4
Protanomaly#8043D4
Deuteranopia#6B6BD2
Deuteranomaly#8B57D3
Tritanopia#9D5757
Tritanomaly#A3479A
Achromatopsia#6B6B6B

Test a full palette in the color blindness simulator.

Using #AD21D4 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-ad21d4: #AD21D4;
CSS backgroundbackground-color: #AD21D4;
Tailwind configcolors: { 'color-ad21d4': '#AD21D4' }
SwiftUIColor(red: 0.678, green: 0.129, blue: 0.831)
Android XML<color name="color_ad21d4">#AD21D4</color>
SVG fillfill="#AD21D4"

More Purple Colors

#AD21D4 sits in the purple family. These are its neighbours across that family's full range, each with its own breakdown.

#AD21D4 Frequently Asked Questions

What color is #AD21D4?

#AD21D4 is a mid-tone purple — rgb(173, 33, 212) in RGB and hsl(287, 73%, 48%) in HSL. It carries no registered color name of its own; the closest named color is Purple (Munsell) (#9F00C5), which is clearly related but distinguishable side by side at a CIE76 distance of 5.05.

What is the RGB value of #AD21D4?

#AD21D4 is rgb(173, 33, 212) — red 173, green 33, and blue 212 on the 0-255 scale.

What is the CMYK value of #AD21D4?

#AD21D4 converts to approximately cmyk(18%, 84%, 0%, 17%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #AD21D4 be black or white?

White text is the more readable choice. #AD21D4 scores 5.32:1 against white and 3.95:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #AD21D4 as a CSS color keyword?

No. #AD21D4 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkorchid (#9932CC) at a CIE76 distance of 10.37, which is visibly different.

Open #AD21D4 in a Tool

Keep exploring: every purple in the color library, the guide to shades of purple, or the full color library.