Skip to content

#b209ff

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

RGB
178, 9, 255
HSL
281°, 100%, 52%
CMYK
30, 97, 0, 0
Luminance
0.1688

Every format

HEX#b209ff
RGBrgb(178, 9, 255)
HSLhsl(281, 100%, 52%)
CMYKcmyk(30%, 97%, 0%, 0%)
LABlab(48.1 87.1 -81.2)
LCHlch(48.1 119.1 317.0)
OKLCHoklch(0.593 0.298 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b209ff on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#b209ff on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green3.5%
Blue100.0%

CMYK percentages

Cyan30.2%
Magenta96.5%
Yellow0.0%
Key (black)0.0%

Color previews

#b209ff text on a black background

contrast 4.38:1

Card sample

#b209ff text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b209ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b209ff in the Color Lab