Skip to content

#b261df

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

RGB
178, 97, 223
HSL
279°, 66%, 63%
CMYK
20, 57, 0, 13
Luminance
0.2334

Every format

HEX#b261df
RGBrgb(178, 97, 223)
HSLhsl(279, 66%, 63%)
CMYKcmyk(20%, 57%, 0%, 13%)
LABlab(55.4 53.7 -51.4)
LCHlch(55.4 74.4 316.3)
OKLCHoklch(0.638 0.194 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261df on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#b261df on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta56.5%
Yellow0.0%
Key (black)12.5%

Color previews

#b261df text on a black background

contrast 5.67:1

Card sample

#b261df text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b261df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261df in the Color Lab