Skip to content

#b90fe2

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

RGB
185, 15, 226
HSL
288°, 88%, 47%
CMYK
18, 93, 0, 11
Luminance
0.1615

Every format

HEX#b90fe2
RGBrgb(185, 15, 226)
HSLhsl(288, 88%, 47%)
CMYKcmyk(18%, 93%, 0%, 11%)
LABlab(47.2 82.3 -66.3)
LCHlch(47.2 105.7 321.1)
OKLCHoklch(0.582 0.277 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b90fe2 on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#b90fe2 on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green5.9%
Blue88.6%

CMYK percentages

Cyan18.1%
Magenta93.4%
Yellow0.0%
Key (black)11.4%

Color previews

#b90fe2 text on a black background

contrast 4.23:1

Card sample

#b90fe2 text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b90fe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b90fe2 in the Color Lab