Skip to content

#9502f4

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

RGB
149, 2, 244
HSL
276°, 98%, 48%
CMYK
39, 99, 0, 4
Luminance
0.1296

Every format

HEX#9502f4
RGBrgb(149, 2, 244)
HSLhsl(276, 98%, 48%)
CMYKcmyk(39%, 99%, 0%, 4%)
LABlab(42.7 82.5 -84.0)
LCHlch(42.7 117.8 314.5)
OKLCHoklch(0.545 0.286 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9502f4 on white: 5.84:1
AA ✓ pass · AA-large · AAA
Aa
#9502f4 on black: 3.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.4%
Green0.8%
Blue95.7%

CMYK percentages

Cyan38.9%
Magenta99.2%
Yellow0.0%
Key (black)4.3%

Color previews

#9502f4 text on a black background

contrast 3.59:1

Card sample

#9502f4 text on a white background

contrast 5.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9502f4;
Background color
Panel with #9502f4 background
background-color: #9502f4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9502f4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(149, 2, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 2, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9502f4;
background: linear-gradient(135deg, #9502f4, #F402B2);

Monochromatic scale

Palettes built from #9502f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9502f4 in the Color Lab