Skip to content

#9b3dfd

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

RGB
155, 61, 253
HSL
269°, 98%, 62%
CMYK
39, 76, 0, 1
Luminance
0.1740

Every format

HEX#9b3dfd
RGBrgb(155, 61, 253)
HSLhsl(269, 98%, 62%)
CMYKcmyk(39%, 76%, 0%, 1%)
LABlab(48.8 72.0 -79.2)
LCHlch(48.8 107.0 312.3)
OKLCHoklch(0.591 0.263 300.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b3dfd on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#9b3dfd on black: 4.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green23.9%
Blue99.2%

CMYK percentages

Cyan38.7%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#9b3dfd text on a black background

contrast 4.48:1

Card sample

#9b3dfd text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b3dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b3dfd in the Color Lab