Skip to content

#AD21ED Color

#AD21ED is rgb(173, 33, 237) in RGB, hsl(281, 85%, 53%) in HSL, and about cmyk(27%, 86%, 0%, 7%) in CMYK. It has no registered color name of its own — the closest is Purple (X11) (#A020F0), clearly related but distinguishable side by side at ΔE 5.48. White text is the more readable choice on this background.

#AD21ED
HEX#AD21ED
RGBrgb(173, 33, 237)
HSLhsl(281, 85%, 53%)
HSVhsv(281, 86%, 93%)
CMYKcmyk(27%, 86%, 0%, 7%)
OKLCHoklch(58.1% 0.274 311.1)
LABlab(46.34% 73.54 -73.56)
LCHlch(46.34% 104.01 314.99)

What #AD21ED 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 #AD21ED, 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.

#AD21ED Channel Values

How #AD21ED 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 2378-bit channels as sent to the display
HSLH 281° · S 85% · L 53%Easiest model for building lighter and darker variants
HSVH 281° · S 86% · V 93%Matches the picker in most design tools
CMYKC 27% · M 86% · Y 0% · K 7%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.98:1 vs white · 4.22:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AD21ED 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 text4.98:1AA normal AA large AAA normal
Fails AABlack text4.22:1AA normal AA large AAA normal

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

Colors That Go With #AD21ED

Pairings derived from color-wheel relationships. The complementary color sits opposite #AD21ED; 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 #AD21ED

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 #AD21ED.

How #AD21ED 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#AD21ED
Protanopia#5252ED
Protanomaly#8043ED
Deuteranopia#6B6BEC
Deuteranomaly#8B57EC
Tritanopia#986161
Tritanomaly#A14FAC
Achromatopsia#707070

Test a full palette in the color blindness simulator.

Using #AD21ED in Code

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

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

More Purple Colors

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

#AD21ED Frequently Asked Questions

What color is #AD21ED?

#AD21ED is a mid-tone purple — rgb(173, 33, 237) in RGB and hsl(281, 85%, 53%) in HSL. It carries no registered color name of its own; the closest named color is Purple (X11) (#A020F0), which is clearly related but distinguishable side by side at a CIE76 distance of 5.48.

What is the RGB value of #AD21ED?

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

What is the CMYK value of #AD21ED?

#AD21ED converts to approximately cmyk(27%, 86%, 0%, 7%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #AD21ED be black or white?

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

Can I write #AD21ED as a CSS color keyword?

No. #AD21ED 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 darkviolet (#9400D3) at a CIE76 distance of 8.49, which is clearly related but distinguishable side by side.

Open #AD21ED in a Tool

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