Skip to content

#BA74FB Color

#BA74FB is rgb(186, 116, 251) in RGB, hsl(271, 94%, 72%) in HSL, and about cmyk(26%, 54%, 0%, 2%) in CMYK. It has no registered color name of its own — the closest is Heliotrope (#DF73FF), visibly different at ΔE 13.4. Black text is the more readable choice on this background.

#BA74FB
HEX#BA74FB
RGBrgb(186, 116, 251)
HSLhsl(271, 94%, 72%)
HSVhsv(271, 54%, 98%)
CMYKcmyk(26%, 54%, 0%, 2%)
OKLCHoklch(69.1% 0.198 305.8)
LABlab(61.04% 46.76 -57.64)
LCHlch(61.04% 74.23 309.05)

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

#BA74FB Channel Values

How #BA74FB 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 186 · G 116 · B 2518-bit channels as sent to the display
HSLH 271° · S 94% · L 72%Easiest model for building lighter and darker variants
HSVH 271° · S 54% · V 98%Matches the picker in most design tools
CMYKC 26% · M 54% · Y 0% · K 2%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.01:1 vs white · 6.98:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #BA74FB 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 text3.01:1AA normal AA large AAA normal
TextBlack text6.98:1AA normal AA large AAA normal

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

Colors That Go With #BA74FB

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

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

How #BA74FB 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#BA74FB
Protanopia#8383FB
Protanomaly#9C7EFB
Deuteranopia#9090FA
Deuteranomaly#A386FA
Tritanopia#A88F8F
Tritanomaly#AF85C4
Achromatopsia#959595

Test a full palette in the color blindness simulator.

Using #BA74FB in Code

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

CSS custom property--color-ba74fb: #BA74FB;
CSS backgroundbackground-color: #BA74FB;
Tailwind configcolors: { 'color-ba74fb': '#BA74FB' }
SwiftUIColor(red: 0.729, green: 0.455, blue: 0.984)
Android XML<color name="color_ba74fb">#BA74FB</color>
SVG fillfill="#BA74FB"

More Purple Colors

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

#BA74FB Frequently Asked Questions

What color is #BA74FB?

#BA74FB is a light purple — rgb(186, 116, 251) in RGB and hsl(271, 94%, 72%) in HSL. It carries no registered color name of its own; the closest named color is Heliotrope (#DF73FF), which is visibly different at a CIE76 distance of 13.4.

What is the RGB value of #BA74FB?

#BA74FB is rgb(186, 116, 251) — red 186, green 116, and blue 251 on the 0-255 scale.

What is the CMYK value of #BA74FB?

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

Should text on #BA74FB be black or white?

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

Can I write #BA74FB as a CSS color keyword?

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

Open #BA74FB in a Tool

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