Skip to content

#910cfd

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

RGB
145, 12, 253
HSL
273°, 98%, 52%
CMYK
43, 95, 0, 1
Luminance
0.1337

Every format

HEX#910cfd
RGBrgb(145, 12, 253)
HSLhsl(273, 98%, 52%)
CMYKcmyk(43%, 95%, 0%, 1%)
LABlab(43.3 83.0 -88.1)
LCHlch(43.3 121.0 313.3)
OKLCHoklch(0.551 0.290 299.6)

Copy-ready code

/* CSS */
color: #910cfd;
background-color: #910cfd;
/* Tailwind (arbitrary) */
class="text-[#910cfd] bg-[#910cfd]"
/* SCSS */
$brand: #910cfd;
/* SwiftUI */
Color(red: 0.569, green: 0.047, blue: 0.992)
/* Android */
Color.parseColor("#910cfd")

Accessibility — WCAG contrast

Aa
#910cfd on white: 5.71:1
AA ✓ pass · AA-large · AAA
Aa
#910cfd on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green4.7%
Blue99.2%

CMYK percentages

Cyan42.7%
Magenta95.3%
Yellow0.0%
Key (black)0.8%

Color previews

#910cfd text on a black background

contrast 3.67:1

Card sample

#910cfd text on a white background

contrast 5.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #910cfd;
Background color
Panel with #910cfd background
background-color: #910cfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #910cfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(145, 12, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 12, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #910cfd;
background: linear-gradient(135deg, #910cfd, #FD0CC8);

Monochromatic scale

Palettes built from #910cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #910cfd in the Color Lab