Skip to content

#b45fdf

a balanced, vivid violet · warm · closest name: orchid

RGB
180, 95, 223
HSL
280°, 67%, 62%
CMYK
19, 57, 0, 13
Luminance
0.2322

Every format

HEX#b45fdf
RGBrgb(180, 95, 223)
HSLhsl(280, 67%, 62%)
CMYKcmyk(19%, 57%, 0%, 13%)
LABlab(55.3 55.2 -51.6)
LCHlch(55.3 75.6 316.9)
OKLCHoklch(0.638 0.197 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b45fdf on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#b45fdf on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green37.3%
Blue87.5%

CMYK percentages

Cyan19.3%
Magenta57.4%
Yellow0.0%
Key (black)12.5%

Color previews

#b45fdf text on a black background

contrast 5.64:1

Card sample

#b45fdf text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 95, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 95, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b45fdf;
background: linear-gradient(135deg, #b45fdf, #DF5FB5);

Monochromatic scale

Palettes built from #b45fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b45fdf in the Color Lab