Skip to content

#b25df6

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

RGB
178, 93, 246
HSL
273°, 90%, 67%
CMYK
28, 62, 0, 4
Luminance
0.2395

Every format

HEX#b25df6
RGBrgb(178, 93, 246)
HSLhsl(273, 90%, 67%)
CMYKcmyk(28%, 62%, 0%, 4%)
LABlab(56.0 60.8 -63.3)
LCHlch(56.0 87.8 313.8)
OKLCHoklch(0.647 0.224 306.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green36.5%
Blue96.5%

CMYK percentages

Cyan27.6%
Magenta62.2%
Yellow0.0%
Key (black)3.5%

Color previews

#b25df6 text on a black background

contrast 5.79:1

Card sample

#b25df6 text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b25df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b25df6 in the Color Lab