Skip to content

#AB4CD6 Color

#AB4CD6 is rgb(171, 76, 214) in RGB, hsl(281, 63%, 57%) in HSL, and about cmyk(20%, 64%, 0%, 16%) 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 8.19. Black text is the more readable choice on this background.

#AB4CD6
HEX#AB4CD6
RGBrgb(171, 76, 214)
HSLhsl(281, 63%, 57%)
HSVhsv(281, 64%, 84%)
CMYKcmyk(20%, 64%, 0%, 16%)
OKLCHoklch(59.8% 0.212 313.5)
LABlab(49.88% 55.45 -54.85)
LCHlch(49.88% 77.99 315.31)

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

#AB4CD6 Channel Values

How #AB4CD6 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 76 · B 2148-bit channels as sent to the display
HSLH 281° · S 63% · L 57%Easiest model for building lighter and darker variants
HSVH 281° · S 64% · V 84%Matches the picker in most design tools
CMYKC 20% · M 64% · Y 0% · K 16%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.43:1 vs white · 4.74:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AB4CD6 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.43:1AA normal AA large AAA normal
TextBlack text4.74:1AA normal AA large AAA normal

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

Colors That Go With #AB4CD6

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

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

How #AB4CD6 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#AB4CD6
Protanopia#6565D6
Protanomaly#875CD6
Deuteranopia#7777D5
Deuteranomaly#8F68D5
Tritanopia#9C6B6B
Tritanomaly#A260A1
Achromatopsia#787878

Test a full palette in the color blindness simulator.

Using #AB4CD6 in Code

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

CSS custom property--color-ab4cd6: #AB4CD6;
CSS backgroundbackground-color: #AB4CD6;
Tailwind configcolors: { 'color-ab4cd6': '#AB4CD6' }
SwiftUIColor(red: 0.671, green: 0.298, blue: 0.839)
Android XML<color name="color_ab4cd6">#AB4CD6</color>
SVG fillfill="#AB4CD6"

More Purple Colors

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

#AB4CD6 Frequently Asked Questions

What color is #AB4CD6?

#AB4CD6 is a mid-tone purple — rgb(171, 76, 214) in RGB and hsl(281, 63%, 57%) 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 8.19.

What is the RGB value of #AB4CD6?

#AB4CD6 is rgb(171, 76, 214) — red 171, green 76, and blue 214 on the 0-255 scale.

What is the CMYK value of #AB4CD6?

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

Should text on #AB4CD6 be black or white?

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

Can I write #AB4CD6 as a CSS color keyword?

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

Open #AB4CD6 in a Tool

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