Skip to content

#b90dfd

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

RGB
185, 13, 253
HSL
283°, 98%, 52%
CMYK
27, 95, 0, 1
Luminance
0.1769

Every format

HEX#b90dfd
RGBrgb(185, 13, 253)
HSLhsl(283, 98%, 52%)
CMYKcmyk(27%, 95%, 0%, 1%)
LABlab(49.1 87.2 -78.4)
LCHlch(49.1 117.3 318.1)
OKLCHoklch(0.602 0.298 311.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b90dfd on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#b90dfd on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green5.1%
Blue99.2%

CMYK percentages

Cyan26.9%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#b90dfd text on a black background

contrast 4.54:1

Card sample

#b90dfd text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b90dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b90dfd in the Color Lab