Skip to content

#b25df9

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

RGB
178, 93, 249
HSL
273°, 93%, 67%
CMYK
29, 63, 0, 2
Luminance
0.2413

Every format

HEX#b25df9
RGBrgb(178, 93, 249)
HSLhsl(273, 93%, 67%)
CMYKcmyk(29%, 63%, 0%, 2%)
LABlab(56.2 61.4 -64.7)
LCHlch(56.2 89.2 313.5)
OKLCHoklch(0.649 0.227 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b25df9 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#b25df9 on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green36.5%
Blue97.6%

CMYK percentages

Cyan28.5%
Magenta62.7%
Yellow0.0%
Key (black)2.4%

Color previews

#b25df9 text on a black background

contrast 5.83:1

Card sample

#b25df9 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b25df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b25df9 in the Color Lab