Skip to content

#b115ff

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

RGB
177, 21, 255
HSL
280°, 100%, 54%
CMYK
31, 92, 0, 0
Luminance
0.1710

Every format

HEX#b115ff
RGBrgb(177, 21, 255)
HSLhsl(280, 100%, 54%)
CMYKcmyk(31%, 92%, 0%, 0%)
LABlab(48.4 85.7 -80.7)
LCHlch(48.4 117.7 316.7)
OKLCHoklch(0.595 0.295 308.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b115ff on white: 4.75:1
AA ✓ pass · AA-large · AAA
Aa
#b115ff on black: 4.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green8.2%
Blue100.0%

CMYK percentages

Cyan30.6%
Magenta91.8%
Yellow0.0%
Key (black)0.0%

Color previews

#b115ff text on a black background

contrast 4.42:1

Card sample

#b115ff text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b115ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b115ff in the Color Lab