Skip to content

#b261aa

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

RGB
178, 97, 170
HSL
306°, 35%, 54%
CMYK
0, 46, 5, 30
Luminance
0.2092

Every format

HEX#b261aa
RGBrgb(178, 97, 170)
HSLhsl(306, 35%, 54%)
CMYKcmyk(0%, 46%, 5%, 30%)
LABlab(52.9 43.2 -25.1)
LCHlch(52.9 50.0 329.9)
OKLCHoklch(0.611 0.140 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261aa on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#b261aa on black: 5.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta45.5%
Yellow4.5%
Key (black)30.2%

Color previews

#b261aa text on a black background

contrast 5.18:1

Card sample

#b261aa text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b261aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261aa in the Color Lab