Skip to content

#b145db

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

RGB
177, 69, 219
HSL
283°, 68%, 57%
CMYK
19, 69, 0, 14
Luminance
0.1872

Every format

HEX#b145db
RGBrgb(177, 69, 219)
HSLhsl(283, 68%, 57%)
CMYKcmyk(19%, 69%, 0%, 14%)
LABlab(50.4 65.6 -57.3)
LCHlch(50.4 87.1 318.9)
OKLCHoklch(0.601 0.228 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b145db on white: 4.43:1
AA ✗ fail · AA-large · AAA
Aa
#b145db on black: 4.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green27.1%
Blue85.9%

CMYK percentages

Cyan19.2%
Magenta68.5%
Yellow0.0%
Key (black)14.1%

Color previews

#b145db text on a black background

contrast 4.74:1

Card sample

#b145db text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 69, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 69, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b145db;
background: linear-gradient(135deg, #b145db, #DB45A1);

Monochromatic scale

Palettes built from #b145db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b145db in the Color Lab