Skip to content

#bc8af3

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

RGB
188, 138, 243
HSL
269°, 81%, 75%
CMYK
23, 43, 0, 5
Luminance
0.3534

Every format

HEX#bc8af3
RGBrgb(188, 138, 243)
HSLhsl(269, 81%, 75%)
CMYKcmyk(23%, 43%, 0%, 5%)
LABlab(66.0 39.1 -45.7)
LCHlch(66.0 60.1 310.5)
OKLCHoklch(0.723 0.155 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc8af3 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#bc8af3 on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green54.1%
Blue95.3%

CMYK percentages

Cyan22.6%
Magenta43.2%
Yellow0.0%
Key (black)4.7%

Color previews

#bc8af3 text on a black background

contrast 8.07:1

Card sample

#bc8af3 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 138, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 138, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc8af3;
background: linear-gradient(135deg, #bc8af3, #F38AE4);

Monochromatic scale

Palettes built from #bc8af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc8af3 in the Color Lab