Skip to content

#b25dfd

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

RGB
178, 93, 253
HSL
272°, 98%, 68%
CMYK
30, 63, 0, 1
Luminance
0.2439

Every format

HEX#b25dfd
RGBrgb(178, 93, 253)
HSLhsl(272, 98%, 68%)
CMYKcmyk(30%, 63%, 0%, 1%)
LABlab(56.5 62.3 -66.5)
LCHlch(56.5 91.1 313.1)
OKLCHoklch(0.652 0.231 305.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b25dfd on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#b25dfd on black: 5.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green36.5%
Blue99.2%

CMYK percentages

Cyan29.6%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#b25dfd text on a black background

contrast 5.88:1

Card sample

#b25dfd text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b25dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b25dfd in the Color Lab