Skip to content

#AB4EDA Color

#AB4EDA is rgb(171, 78, 218) in RGB, hsl(280, 65%, 58%) in HSL, and about cmyk(22%, 64%, 0%, 15%) in CMYK. It has no registered color name of its own — the closest is Medium Orchid (#BA55D3), clearly related but distinguishable side by side at ΔE 9.29. Black text is the more readable choice on this background.

#AB4EDA
HEX#AB4EDA
RGBrgb(171, 78, 218)
HSLhsl(280, 65%, 58%)
HSVhsv(280, 64%, 85%)
CMYKcmyk(22%, 64%, 0%, 15%)
OKLCHoklch(60.3% 0.213 312.3)
LABlab(50.42% 55.21 -56.26)
LCHlch(50.42% 78.83 314.46)

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

#AB4EDA Channel Values

How #AB4EDA 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 171 · G 78 · B 2188-bit channels as sent to the display
HSLH 280° · S 65% · L 58%Easiest model for building lighter and darker variants
HSVH 280° · S 64% · V 85%Matches the picker in most design tools
CMYKC 22% · M 64% · Y 0% · K 15%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.34:1 vs white · 4.83:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AB4EDA 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.

Fails AAWhite text4.34:1AA normal AA large AAA normal
TextBlack text4.83:1AA normal AA large AAA normal

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

Colors That Go With #AB4EDA

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

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

How #AB4EDA 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#AB4EDA
Protanopia#6666DA
Protanomaly#875DDA
Deuteranopia#7777D9
Deuteranomaly#8F69D9
Tritanopia#9B6E6E
Tritanomaly#A263A4
Achromatopsia#797979

Test a full palette in the color blindness simulator.

Using #AB4EDA in Code

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

CSS custom property--color-ab4eda: #AB4EDA;
CSS backgroundbackground-color: #AB4EDA;
Tailwind configcolors: { 'color-ab4eda': '#AB4EDA' }
SwiftUIColor(red: 0.671, green: 0.306, blue: 0.855)
Android XML<color name="color_ab4eda">#AB4EDA</color>
SVG fillfill="#AB4EDA"

More Purple Colors

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

#AB4EDA Frequently Asked Questions

What color is #AB4EDA?

#AB4EDA is a mid-tone purple — rgb(171, 78, 218) in RGB and hsl(280, 65%, 58%) in HSL. It carries no registered color name of its own; the closest named color is Medium Orchid (#BA55D3), which is clearly related but distinguishable side by side at a CIE76 distance of 9.29.

What is the RGB value of #AB4EDA?

#AB4EDA is rgb(171, 78, 218) — red 171, green 78, and blue 218 on the 0-255 scale.

What is the CMYK value of #AB4EDA?

#AB4EDA converts to approximately cmyk(22%, 64%, 0%, 15%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #AB4EDA be black or white?

Black text is the more readable choice. #AB4EDA scores 4.34:1 against white and 4.83:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #AB4EDA as a CSS color keyword?

No. #AB4EDA 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 mediumorchid (#BA55D3) at a CIE76 distance of 9.29, which is clearly related but distinguishable side by side.

Open #AB4EDA in a Tool

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