Skip to content

#b65ef1

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

RGB
182, 94, 241
HSL
276°, 84%, 66%
CMYK
25, 61, 0, 6
Luminance
0.2430

Every format

HEX#b65ef1
RGBrgb(182, 94, 241)
HSLhsl(276, 84%, 66%)
CMYKcmyk(25%, 61%, 0%, 6%)
LABlab(56.4 60.1 -59.9)
LCHlch(56.4 84.8 315.1)
OKLCHoklch(0.650 0.218 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b65ef1 on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#b65ef1 on black: 5.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.4%
Green36.9%
Blue94.5%

CMYK percentages

Cyan24.5%
Magenta61.0%
Yellow0.0%
Key (black)5.5%

Color previews

#b65ef1 text on a black background

contrast 5.86:1

Card sample

#b65ef1 text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(182, 94, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(182, 94, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b65ef1;
background: linear-gradient(135deg, #b65ef1, #F15ECA);

Monochromatic scale

Palettes built from #b65ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b65ef1 in the Color Lab