Skip to content

#bf16ff

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

RGB
191, 22, 255
HSL
284°, 100%, 54%
CMYK
25, 91, 0, 0
Luminance
0.1887

Every format

HEX#bf16ff
RGBrgb(191, 22, 255)
HSLhsl(284, 100%, 54%)
CMYKcmyk(25%, 91%, 0%, 0%)
LABlab(50.5 87.3 -77.2)
LCHlch(50.5 116.5 318.5)
OKLCHoklch(0.614 0.298 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf16ff on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#bf16ff on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green8.6%
Blue100.0%

CMYK percentages

Cyan25.1%
Magenta91.4%
Yellow0.0%
Key (black)0.0%

Color previews

#bf16ff text on a black background

contrast 4.77:1

Card sample

#bf16ff text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf16ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf16ff in the Color Lab