Skip to content

#955ff4

a light, electric violet · warm · closest name: slateblue

RGB
149, 95, 244
HSL
262°, 87%, 67%
CMYK
39, 61, 0, 4
Luminance
0.2111

Every format

HEX#955ff4
RGBrgb(149, 95, 244)
HSLhsl(262, 87%, 67%)
CMYKcmyk(39%, 61%, 0%, 4%)
LABlab(53.1 53.1 -67.2)
LCHlch(53.1 85.6 308.3)
OKLCHoklch(0.618 0.213 296.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#955ff4 on white: 4.02:1
AA ✗ fail · AA-large · AAA
Aa
#955ff4 on black: 5.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.4%
Green37.3%
Blue95.7%

CMYK percentages

Cyan38.9%
Magenta61.1%
Yellow0.0%
Key (black)4.3%

Color previews

#955ff4 text on a black background

contrast 5.22:1

Card sample

#955ff4 text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #955ff4;
Background color
Panel with #955ff4 background
background-color: #955ff4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #955ff4;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #955ff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #955ff4 in the Color Lab