Skip to content

#970fac

a dark, electric magenta / pink · warm · closest name: purple

RGB
151, 15, 172
HSL
292°, 84%, 37%
CMYK
12, 91, 0, 33
Luminance
0.0990

Every format

HEX#970fac
RGBrgb(151, 15, 172)
HSLhsl(292, 84%, 37%)
CMYKcmyk(12%, 91%, 0%, 33%)
LABlab(37.7 68.0 -50.5)
LCHlch(37.7 84.7 323.4)
OKLCHoklch(0.493 0.227 321.3)

Copy-ready code

/* CSS */
color: #970fac;
background-color: #970fac;
/* Tailwind (arbitrary) */
class="text-[#970fac] bg-[#970fac]"
/* SCSS */
$brand: #970fac;
/* SwiftUI */
Color(red: 0.592, green: 0.059, blue: 0.675)
/* Android */
Color.parseColor("#970fac")

Accessibility — WCAG contrast

Aa
#970fac on white: 7.05:1
AA ✓ pass · AA-large · AAA
Aa
#970fac on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red59.2%
Green5.9%
Blue67.5%

CMYK percentages

Cyan12.2%
Magenta91.3%
Yellow0.0%
Key (black)32.5%

Color previews

#970fac text on a black background

contrast 2.98:1

Card sample

#970fac text on a white background

contrast 7.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #970fac;
Background color
Panel with #970fac background
background-color: #970fac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #970fac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 15, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 15, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #970fac;
background: linear-gradient(135deg, #970fac, #AC0F58);

Monochromatic scale

Palettes built from #970fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #970fac in the Color Lab