Skip to content

#9b30df

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

RGB
155, 48, 223
HSL
277°, 73%, 53%
CMYK
31, 79, 0, 13
Luminance
0.1441

Every format

HEX#9b30df
RGBrgb(155, 48, 223)
HSLhsl(277, 73%, 53%)
CMYKcmyk(31%, 79%, 0%, 13%)
LABlab(44.8 70.1 -68.7)
LCHlch(44.8 98.1 315.6)
OKLCHoklch(0.556 0.247 307.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b30df on white: 5.41:1
AA ✓ pass · AA-large · AAA
Aa
#9b30df on black: 3.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green18.8%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta78.5%
Yellow0.0%
Key (black)12.5%

Color previews

#9b30df text on a black background

contrast 3.88:1

Card sample

#9b30df text on a white background

contrast 5.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b30df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b30df in the Color Lab