Skip to content

#b264eb

a light, electric violet · warm · closest name: slateblue

RGB
178, 100, 235
HSL
275°, 77%, 66%
CMYK
24, 57, 0, 8
Luminance
0.2458

Every format

HEX#b264eb
RGBrgb(178, 100, 235)
HSLhsl(275, 77%, 66%)
CMYKcmyk(24%, 57%, 0%, 8%)
LABlab(56.7 54.9 -56.2)
LCHlch(56.7 78.5 314.3)
OKLCHoklch(0.650 0.202 308.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b264eb on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#b264eb on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green39.2%
Blue92.2%

CMYK percentages

Cyan24.3%
Magenta57.4%
Yellow0.0%
Key (black)7.8%

Color previews

#b264eb text on a black background

contrast 5.92:1

Card sample

#b264eb text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b264eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b264eb in the Color Lab