Skip to content

#962abc

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

RGB
150, 42, 188
HSL
284°, 64%, 45%
CMYK
20, 78, 0, 26
Luminance
0.1177

Every format

HEX#962abc
RGBrgb(150, 42, 188)
HSLhsl(284, 64%, 45%)
CMYKcmyk(20%, 78%, 0%, 26%)
LABlab(40.9 64.2 -54.9)
LCHlch(40.9 84.4 319.5)
OKLCHoklch(0.519 0.220 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#962abc on white: 6.26:1
AA ✓ pass · AA-large · AAA
Aa
#962abc on black: 3.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green16.5%
Blue73.7%

CMYK percentages

Cyan20.2%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#962abc text on a black background

contrast 3.35:1

Card sample

#962abc text on a white background

contrast 6.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #962abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #962abc in the Color Lab