Skip to content

#A31BFE Color

#A31BFE is rgb(163, 27, 254) in RGB, hsl(276, 99%, 55%) in HSL, and about cmyk(36%, 89%, 0%, 0%) in CMYK. It has no registered color name of its own — the closest is Vibrant Purple (#AA00FF), very hard to tell apart at ΔE 4.28. White text is the more readable choice on this background.

#A31BFE
HEX#A31BFE
RGBrgb(163, 27, 254)
HSLhsl(276, 99%, 55%)
HSVhsv(276, 89%, 100%)
CMYKcmyk(36%, 89%, 0%, 0%)
OKLCHoklch(57.9% 0.289 304.6)
LABlab(45.56% 75.62 -84.45)
LCHlch(45.56% 113.36 311.84)

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

#A31BFE Channel Values

How #A31BFE 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 163 · G 27 · B 2548-bit channels as sent to the display
HSLH 276° · S 99% · L 55%Easiest model for building lighter and darker variants
HSVH 276° · S 89% · V 100%Matches the picker in most design tools
CMYKC 36% · M 89% · Y 0% · K 0%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.07:1 vs white · 4.15:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

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

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

Colors That Go With #A31BFE

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

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

How #A31BFE 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#A31BFE
Protanopia#4C4CFE
Protanomaly#783DFE
Deuteranopia#6464FD
Deuteranomaly#8251FD
Tritanopia#876767
Tritanomaly#9352B8
Achromatopsia#6E6E6E

Test a full palette in the color blindness simulator.

Using #A31BFE in Code

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

CSS custom property--color-a31bfe: #A31BFE;
CSS backgroundbackground-color: #A31BFE;
Tailwind configcolors: { 'color-a31bfe': '#A31BFE' }
SwiftUIColor(red: 0.639, green: 0.106, blue: 0.996)
Android XML<color name="color_a31bfe">#A31BFE</color>
SVG fillfill="#A31BFE"

More Purple Colors

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

#A31BFE Frequently Asked Questions

What color is #A31BFE?

#A31BFE is a mid-tone purple — rgb(163, 27, 254) in RGB and hsl(276, 99%, 55%) in HSL. It carries no registered color name of its own; the closest named color is Vibrant Purple (#AA00FF), which is very hard to tell apart at a CIE76 distance of 4.28.

What is the RGB value of #A31BFE?

#A31BFE is rgb(163, 27, 254) — red 163, green 27, and blue 254 on the 0-255 scale.

What is the CMYK value of #A31BFE?

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

Should text on #A31BFE be black or white?

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

Can I write #A31BFE as a CSS color keyword?

No. #A31BFE 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 15.72, which is visibly different.

Open #A31BFE in a Tool

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