Skip to content

#b261d4

a balanced, vivid violet · warm · closest name: orchid

RGB
178, 97, 212
HSL
282°, 57%, 61%
CMYK
16, 54, 0, 17
Luminance
0.2277

Every format

HEX#b261d4
RGBrgb(178, 97, 212)
HSLhsl(282, 57%, 61%)
CMYKcmyk(16%, 54%, 0%, 17%)
LABlab(54.8 51.4 -46.1)
LCHlch(54.8 69.1 318.1)
OKLCHoklch(0.632 0.182 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261d4 on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#b261d4 on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue83.1%

CMYK percentages

Cyan16.0%
Magenta54.2%
Yellow0.0%
Key (black)16.9%

Color previews

#b261d4 text on a black background

contrast 5.55:1

Card sample

#b261d4 text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b261d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261d4 in the Color Lab