Skip to content

#9b1ace

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

RGB
155, 26, 206
HSL
283°, 78%, 46%
CMYK
25, 87, 0, 19
Luminance
0.1216

Every format

HEX#9b1ace
RGBrgb(155, 26, 206)
HSLhsl(283, 78%, 46%)
CMYKcmyk(25%, 87%, 0%, 19%)
LABlab(41.5 72.7 -64.3)
LCHlch(41.5 97.1 318.5)
OKLCHoklch(0.529 0.249 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b1ace on white: 6.12:1
AA ✓ pass · AA-large · AAA
Aa
#9b1ace on black: 3.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green10.2%
Blue80.8%

CMYK percentages

Cyan24.8%
Magenta87.4%
Yellow0.0%
Key (black)19.2%

Color previews

#9b1ace text on a black background

contrast 3.43:1

Card sample

#9b1ace text on a white background

contrast 6.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9b1ace;
Background color
Panel with #9b1ace background
background-color: #9b1ace;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9b1ace;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(155, 26, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 26, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b1ace;
background: linear-gradient(135deg, #9b1ace, #CE1A89);

Monochromatic scale

Palettes built from #9b1ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b1ace in the Color Lab