Skip to content

#950af3

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

RGB
149, 10, 243
HSL
276°, 92%, 50%
CMYK
39, 96, 0, 5
Luminance
0.1308

Every format

HEX#950af3
RGBrgb(149, 10, 243)
HSLhsl(276, 92%, 50%)
CMYKcmyk(39%, 96%, 0%, 5%)
LABlab(42.9 81.6 -83.2)
LCHlch(42.9 116.5 314.4)
OKLCHoklch(0.546 0.283 302.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#950af3 on white: 5.81:1
AA ✓ pass · AA-large · AAA
Aa
#950af3 on black: 3.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.4%
Green3.9%
Blue95.3%

CMYK percentages

Cyan38.7%
Magenta95.9%
Yellow0.0%
Key (black)4.7%

Color previews

#950af3 text on a black background

contrast 3.62:1

Card sample

#950af3 text on a white background

contrast 5.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #950af3;
Background color
Panel with #950af3 background
background-color: #950af3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #950af3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(149, 10, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 10, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #950af3;
background: linear-gradient(135deg, #950af3, #F30AB6);

Monochromatic scale

Palettes built from #950af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #950af3 in the Color Lab