#BC31A9#BC31A9

#BC31A9 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 334.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BC31A9
RGBrgb(188, 49, 169)
HSLhsl(308, 59%, 46%)
HSVhsv(308, 74%, 74%)
CMYKcmyk(0%, 73.9%, 10.1%, 26.3%)
CIE-LABlab(46.65, 66.55, -34.07)
CIE-LCHlch(46.65, 74.77, 332.89°)
OKLaboklab(56.85% 0.1934 -0.0933)
OKLCHoklch(56.85% 0.215 334.3)
XYZxyz(28.9991, 15.7551, 39.0422)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A9 #31BC44
analogous
#8A31BC #BC31A9 #BC3164
triadic
#BC31A9 #A9BC31 #31A9BC
tetradic
#BC31A9 #BC8A31 #31BC44 #3164BC
square
#BC31A9 #BC8A31 #31BC44 #3164BC
split-complementary
#BC31A9 #64BC31 #31BC8A
monochromatic
#5B1852 #8B247D #BC31A9 #D357C2 #E088D4

Accessibility & contrast

On white

5.06
#BC31A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BC31A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31A9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A9#FFFFFF#000000##FFFFFF
##BC31A91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AC
Deuteranopia (green-blind)
#6176A6
Tritanopia (blue-blind)
#C53E6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc31a9;
/* rgb */ color: rgb(188, 49, 169);
/* oklch */ color: oklch(56.9% 0.215 334.3);
Tailwind
colors: {
  custom: {
    50: '#d477c3',
    500: '#bc31a9',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a9;
$custom-light: #d477c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a9",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 308.201,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.21472,
    "h": 334.3
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#BC31A9
secondary
#7FCA89
accent
#E25B46
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BC31A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva