Skip to content

#b93dfd

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

RGB
185, 61, 253
HSL
279°, 98%, 62%
CMYK
27, 76, 0, 1
Luminance
0.2074

Every format

HEX#b93dfd
RGBrgb(185, 61, 253)
HSLhsl(279, 98%, 62%)
CMYKcmyk(27%, 76%, 0%, 1%)
LABlab(52.7 76.8 -72.6)
LCHlch(52.7 105.7 316.6)
OKLCHoklch(0.627 0.269 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b93dfd on white: 4.08:1
AA ✗ fail · AA-large · AAA
Aa
#b93dfd on black: 5.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green23.9%
Blue99.2%

CMYK percentages

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

Color previews

#b93dfd text on a black background

contrast 5.15:1

Card sample

#b93dfd text on a white background

contrast 4.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b93dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b93dfd in the Color Lab