Skip to content

#b261c2

a balanced, soft magenta / pink · warm · closest name: orchid

RGB
178, 97, 194
HSL
290°, 44%, 57%
CMYK
8, 50, 0, 24
Luminance
0.2191

Every format

HEX#b261c2
RGBrgb(178, 97, 194)
HSLhsl(290, 44%, 57%)
CMYKcmyk(8%, 50%, 0%, 24%)
LABlab(53.9 47.7 -37.3)
LCHlch(53.9 60.6 322.0)
OKLCHoklch(0.623 0.163 320.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261c2 on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#b261c2 on black: 5.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue76.1%

CMYK percentages

Cyan8.2%
Magenta50.0%
Yellow0.0%
Key (black)23.9%

Color previews

#b261c2 text on a black background

contrast 5.38:1

Card sample

#b261c2 text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b261c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261c2 in the Color Lab