Skip to content

#b93dff

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

RGB
185, 61, 255
HSL
278°, 100%, 62%
CMYK
28, 76, 0, 0
Luminance
0.2087

Every format

HEX#b93dff
RGBrgb(185, 61, 255)
HSLhsl(278, 100%, 62%)
CMYKcmyk(28%, 76%, 0%, 0%)
LABlab(52.8 77.2 -73.5)
LCHlch(52.8 106.6 316.4)
OKLCHoklch(0.628 0.271 309.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b93dff on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#b93dff on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green23.9%
Blue100.0%

CMYK percentages

Cyan27.5%
Magenta76.1%
Yellow0.0%
Key (black)0.0%

Color previews

#b93dff text on a black background

contrast 5.17:1

Card sample

#b93dff text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b93dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b93dff in the Color Lab