Skip to content

#974FAB Color

#974FAB is rgb(151, 79, 171) in RGB, hsl(287, 37%, 49%) in HSL, and about cmyk(12%, 54%, 0%, 33%) in CMYK. It has no registered color name of its own — the closest is Purpureus (#9A4EAE), below the threshold most people can see at ΔE 2.24. White text is the more readable choice on this background.

#974FAB
HEX#974FAB
RGBrgb(151, 79, 171)
HSLhsl(287, 37%, 49%)
HSVhsv(287, 54%, 67%)
CMYKcmyk(12%, 54%, 0%, 33%)
OKLCHoklch(55.1% 0.155 318.5)
LABlab(45.58% 41.63 -37.01)
LCHlch(45.58% 55.70 318.37)

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

#974FAB Channel Values

How #974FAB 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 151 · G 79 · B 1718-bit channels as sent to the display
HSLH 287° · S 37% · L 49%Easiest model for building lighter and darker variants
HSVH 287° · S 54% · V 67%Matches the picker in most design tools
CMYKC 12% · M 54% · Y 0% · K 33%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.22:1 vs white · 4.02:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

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

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

Colors That Go With #974FAB

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

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 #974FAB.

How #974FAB 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#974FAB
Protanopia#6060AB
Protanomaly#7A5AAB
Deuteranopia#6E6EAA
Deuteranomaly#8063AA
Tritanopia#8D6161
Tritanomaly#915A85
Achromatopsia#6C6C6C

Test a full palette in the color blindness simulator.

Using #974FAB in Code

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

CSS custom property--color-974fab: #974FAB;
CSS backgroundbackground-color: #974FAB;
Tailwind configcolors: { 'color-974fab': '#974FAB' }
SwiftUIColor(red: 0.592, green: 0.310, blue: 0.671)
Android XML<color name="color_974fab">#974FAB</color>
SVG fillfill="#974FAB"

More Purple Colors

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

#974FAB Frequently Asked Questions

What color is #974FAB?

#974FAB is a mid-tone purple — rgb(151, 79, 171) in RGB and hsl(287, 37%, 49%) in HSL. It carries no registered color name of its own; the closest named color is Purpureus (#9A4EAE), which is below the threshold most people can see at a CIE76 distance of 2.24.

What is the RGB value of #974FAB?

#974FAB is rgb(151, 79, 171) — red 151, green 79, and blue 171 on the 0-255 scale.

What is the CMYK value of #974FAB?

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

Should text on #974FAB be black or white?

White text is the more readable choice. #974FAB scores 5.22:1 against white and 4.02:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #974FAB as a CSS color keyword?

No. #974FAB 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 rebeccapurple (#663399) at a CIE76 distance of 17.27, which is visibly different.

Open #974FAB in a Tool

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