Maroon Colors  ·  Color Library

Palettes / Colors / #970CEB

#970CEB — Vivid Purple

#970CEB is a purple color we call Vivid Purple, closest to the named color DarkViolet (#9400D3). It belongs to the purple family.

Color name

Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #970CEB when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#970CEB is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #61E90C; it also sits naturally between #260CE9 and #E90CCF. In the palettes below you can see it working alongside real color combinations from our collection.

#970CEB · RGB 151, 12, 235

Download PNG swatch SVG

Color values

HEX#970CEB
RGB151, 12, 235
HSL277°, 90%, 48%
HSV277°, 95%, 92%
CMYK36%, 95%, 0%, 8%
XYZ27.89, 12.84, 79.61
Yxy12.84, 0.2318, 0.1067
CIE-Lab42.52, 80.00, -79.27
Hunter Lab35.83, 79.37, -112.76

RGB & CMYK percentages

Red 59% · Green 5% · Blue 92%

Cyan 36% · Magenta 95% · Yellow 0% · Key 8%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #970CEB on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #970CEB on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #970CEB

.text { color: #970CEB; }
.background { background-color: #970CEB; }
.border { border: 3px solid #970CEB; }
.text-rgb { color: rgb(151, 12, 235); }
.text-hsl { color: hsl(277, 90%, 48%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #970CEB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(151, 12, 235, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #970CEB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(151, 12, 235, 0.8); }

HTML: <p style="color:#970CEB">Text here</p> · <div style="background-color:#970CEB">Div content here</div>

Shades of #970CEB

#880BD5#780ABD#6C09AA#5D0891#50077E#44066B#340452#28033F#190227#0C0113

Tints of #970CEB

#A01BF3#AA34F4#B247F5#BD5FF7#C777F8#D190F9#DBA8FA#E3BBFB#EDD3FD#F7ECFE

Tones of #970CEB

#901CD9#8D2CC9#893CB9#864BAA#825B9A#7E6A8A

Color harmonies

Complementary — #61E90C:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.89:1 AA
Against black text3.57:1 AA large only

Best text color on #970CEB: #FFFFFF.

Semi-transparent (opacity) text on #970CEB

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #970CEB: ·

How #970CEB looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #5B5AB5Deuteranopia · #636DA8Tritanopia · #908A81

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind purple 600 · #9333EATailwind violet 600 · #7C3AEDTailwind fuchsia 600 · #C026D3

Palettes with a similar color

These palettes use a close neighbour of #970CEB rather than the exact color:

Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Hidden Canyon
#3F39E7 · #8B18E9 · #DE40D3 · #EC337F
Honey Garden
#1123C0 · #9920EB · #F26ECA · #F7A5A5
Serene Cinder
#8215EB · #690E7C · #7E0F6E · #E23693
Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Golden Ruby Horizon
#45860B · #B5F158 · #8113E5 · #DCB0F4

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#8C12E1#8B18E9#9920EB#8215EB#9400FF#8113E5#9A1CFD#8F1DFB#9E22F6#8C00FF#831CE6#AA1DE4

Browse neighbouring colors

← #970CEA  ·  #970CEC →

Frequently asked questions

What color is #970CEB?

#970CEB is Vivid Purple, a purple color (RGB 151, 12, 235). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #970CEB?

#970CEB is RGB 151, 12, 235 — HSL 277°, 90%, 48% — CMYK 36%, 95%, 0%, 8%.

What colors go with #970CEB?

Its complement is #61E90C; analogous partners are #260CE9 and #E90CCF. It also appears in 6+ palettes in our collection.

Can I use #970CEB for text?

White text on #970CEB has a contrast ratio of 5.89:1 (passes WCAG AA); black text gives 3.57:1.