Skip to content

#bba2f4

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

RGB
187, 162, 244
HSL
258°, 79%, 80%
CMYK
23, 34, 0, 4
Luminance
0.4294

Every format

HEX#bba2f4
RGBrgb(187, 162, 244)
HSLhsl(258, 79%, 80%)
CMYKcmyk(23%, 34%, 0%, 4%)
LABlab(71.5 25.7 -37.7)
LCHlch(71.5 45.6 304.3)
OKLCHoklch(0.764 0.118 297.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba2f4 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#bba2f4 on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green63.5%
Blue95.7%

CMYK percentages

Cyan23.4%
Magenta33.6%
Yellow0.0%
Key (black)4.3%

Color previews

#bba2f4 text on a black background

contrast 9.59:1

Card sample

#bba2f4 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 162, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 162, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba2f4;
background: linear-gradient(135deg, #bba2f4, #F2A2F4);

Monochromatic scale

Palettes built from #bba2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba2f4 in the Color Lab