Skip to content

#b25df5

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

RGB
178, 93, 245
HSL
274°, 88%, 66%
CMYK
27, 62, 0, 4
Luminance
0.2389

Every format

HEX#b25df5
RGBrgb(178, 93, 245)
HSLhsl(274, 88%, 66%)
CMYKcmyk(27%, 62%, 0%, 4%)
LABlab(56.0 60.5 -62.9)
LCHlch(56.0 87.3 313.9)
OKLCHoklch(0.647 0.222 307.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan27.3%
Magenta62.0%
Yellow0.0%
Key (black)3.9%

Color previews

#b25df5 text on a black background

contrast 5.78:1

Card sample

#b25df5 text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b25df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b25df5 in the Color Lab