Skip to content

#b264df

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

RGB
178, 100, 223
HSL
278°, 66%, 63%
CMYK
20, 55, 0, 13
Luminance
0.2391

Every format

HEX#b264df
RGBrgb(178, 100, 223)
HSLhsl(278, 66%, 63%)
CMYKcmyk(20%, 55%, 0%, 13%)
LABlab(56.0 52.2 -50.5)
LCHlch(56.0 72.7 315.9)
OKLCHoklch(0.643 0.189 311.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b264df on white: 3.63:1
AA ✗ fail · AA-large · AAA
Aa
#b264df on black: 5.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green39.2%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#b264df text on a black background

contrast 5.78:1

Card sample

#b264df text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b264df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b264df in the Color Lab