Skip to content

#9500ff

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

RGB
149, 0, 255
HSL
275°, 100%, 50%
CMYK
42, 100, 0, 0
Luminance
0.1361

Every format

HEX#9500ff
RGBrgb(149, 0, 255)
HSLhsl(275, 100%, 50%)
CMYKcmyk(42%, 100%, 0%, 0%)
LABlab(43.7 84.9 -88.7)
LCHlch(43.7 122.8 313.8)
OKLCHoklch(0.555 0.295 300.7)

Copy-ready code

/* CSS */
color: #9500ff;
background-color: #9500ff;
/* Tailwind (arbitrary) */
class="text-[#9500ff] bg-[#9500ff]"
/* SCSS */
$brand: #9500ff;
/* SwiftUI */
Color(red: 0.584, green: 0.000, blue: 1.000)
/* Android */
Color.parseColor("#9500ff")

Accessibility — WCAG contrast

Aa
#9500ff on white: 5.64:1
AA ✓ pass · AA-large · AAA
Aa
#9500ff on black: 3.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.4%
Green0.0%
Blue100.0%

CMYK percentages

Cyan41.6%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#9500ff text on a black background

contrast 3.72:1

Card sample

#9500ff text on a white background

contrast 5.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9500ff;
Background color
Panel with #9500ff background
background-color: #9500ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9500ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(149, 0, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 0, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9500ff;
background: linear-gradient(135deg, #9500ff, #FF00BF);

Monochromatic scale

Palettes built from #9500ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9500ff in the Color Lab