Skip to content

#b261d0

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

RGB
178, 97, 208
HSL
284°, 54%, 60%
CMYK
14, 53, 0, 18
Luminance
0.2257

Every format

HEX#b261d0
RGBrgb(178, 97, 208)
HSLhsl(284, 54%, 60%)
CMYKcmyk(14%, 53%, 0%, 18%)
LABlab(54.6 50.6 -44.2)
LCHlch(54.6 67.2 318.9)
OKLCHoklch(0.630 0.178 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261d0 on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#b261d0 on black: 5.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue81.6%

CMYK percentages

Cyan14.4%
Magenta53.4%
Yellow0.0%
Key (black)18.4%

Color previews

#b261d0 text on a black background

contrast 5.51:1

Card sample

#b261d0 text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b261d0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261d0 in the Color Lab