Skip to content

#b261e2

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

RGB
178, 97, 226
HSL
278°, 69%, 63%
CMYK
21, 57, 0, 11
Luminance
0.2351

Every format

HEX#b261e2
RGBrgb(178, 97, 226)
HSLhsl(278, 69%, 63%)
CMYKcmyk(21%, 57%, 0%, 11%)
LABlab(55.6 54.4 -52.9)
LCHlch(55.6 75.8 315.8)
OKLCHoklch(0.640 0.197 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261e2 on white: 3.68:1
AA ✗ fail · AA-large · AAA
Aa
#b261e2 on black: 5.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue88.6%

CMYK percentages

Cyan21.2%
Magenta57.1%
Yellow0.0%
Key (black)11.4%

Color previews

#b261e2 text on a black background

contrast 5.70:1

Card sample

#b261e2 text on a white background

contrast 3.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b261e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261e2 in the Color Lab