Skip to content

#AD18EC Color

#AD18EC is rgb(173, 24, 236) in RGB, hsl(282, 85%, 51%) in HSL, and about cmyk(27%, 90%, 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.51. White text is the more readable choice on this background.

#AD18EC
HEX#AD18EC
RGBrgb(173, 24, 236)
HSLhsl(282, 85%, 51%)
HSVhsv(282, 90%, 93%)
CMYKcmyk(27%, 90%, 0%, 7%)
OKLCHoklch(57.6% 0.278 311.5)
LABlab(45.69% 75.07 -74.06)
LCHlch(45.69% 105.45 315.39)

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

#AD18EC Channel Values

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

Text Contrast & Accessibility

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

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

Colors That Go With #AD18EC

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

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

How #AD18EC 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#AD18EC
Protanopia#4F4FEC
Protanomaly#8040EC
Deuteranopia#6A6AEB
Deuteranomaly#8A55EB
Tritanopia#985F5F
Tritanomaly#A14CAA
Achromatopsia#6E6E6E

Test a full palette in the color blindness simulator.

Using #AD18EC in Code

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

CSS custom property--color-ad18ec: #AD18EC;
CSS backgroundbackground-color: #AD18EC;
Tailwind configcolors: { 'color-ad18ec': '#AD18EC' }
SwiftUIColor(red: 0.678, green: 0.094, blue: 0.925)
Android XML<color name="color_ad18ec">#AD18EC</color>
SVG fillfill="#AD18EC"

More Purple Colors

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

#AD18EC Frequently Asked Questions

What color is #AD18EC?

#AD18EC is a mid-tone purple — rgb(173, 24, 236) in RGB and hsl(282, 85%, 51%) 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.51.

What is the RGB value of #AD18EC?

#AD18EC is rgb(173, 24, 236) — red 173, green 24, and blue 236 on the 0-255 scale.

What is the CMYK value of #AD18EC?

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

Should text on #AD18EC be black or white?

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

Can I write #AD18EC as a CSS color keyword?

No. #AD18EC 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.77, which is clearly related but distinguishable side by side.

Open #AD18EC in a Tool

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