Skip to content

#962ace

a balanced, vivid violet · warm · closest name: indigo

RGB
150, 42, 206
HSL
280°, 66%, 49%
CMYK
27, 80, 0, 19
Luminance
0.1260

Every format

HEX#962ace
RGBrgb(150, 42, 206)
HSLhsl(280, 66%, 49%)
CMYKcmyk(27%, 80%, 0%, 19%)
LABlab(42.1 67.8 -63.3)
LCHlch(42.1 92.7 317.0)
OKLCHoklch(0.532 0.236 310.4)

Copy-ready code

/* CSS */
color: #962ace;
background-color: #962ace;
/* Tailwind (arbitrary) */
class="text-[#962ace] bg-[#962ace]"
/* SCSS */
$brand: #962ace;
/* SwiftUI */
Color(red: 0.588, green: 0.165, blue: 0.808)
/* Android */
Color.parseColor("#962ace")

Accessibility — WCAG contrast

Aa
#962ace on white: 5.97:1
AA ✓ pass · AA-large · AAA
Aa
#962ace on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green16.5%
Blue80.8%

CMYK percentages

Cyan27.2%
Magenta79.6%
Yellow0.0%
Key (black)19.2%

Color previews

#962ace text on a black background

contrast 3.52:1

Card sample

#962ace text on a white background

contrast 5.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #962ace;
Background color
Panel with #962ace background
background-color: #962ace;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #962ace;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(150, 42, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 42, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #962ace;
background: linear-gradient(135deg, #962ace, #CE2A99);

Monochromatic scale

Palettes built from #962ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #962ace in the Color Lab