Skip to content

#b93cfd

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

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

Every format

HEX#b93cfd
RGBrgb(185, 60, 253)
HSLhsl(279, 98%, 61%)
CMYKcmyk(27%, 76%, 0%, 1%)
LABlab(52.5 77.2 -72.8)
LCHlch(52.5 106.1 316.7)
OKLCHoklch(0.626 0.270 310.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b93cfd on white: 4.10:1
AA ✗ fail · AA-large · AAA
Aa
#b93cfd on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan26.9%
Magenta76.3%
Yellow0.0%
Key (black)0.8%

Color previews

#b93cfd text on a black background

contrast 5.13:1

Card sample

#b93cfd text on a white background

contrast 4.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b93cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b93cfd in the Color Lab