#BC31A6#BC31A6

#BC31A6 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.213 H 335.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BC31A6
RGBrgb(188, 49, 166)
HSLhsl(309, 59%, 46%)
HSVhsv(309, 74%, 74%)
CMYKcmyk(0%, 73.9%, 11.7%, 26.3%)
CIE-LABlab(46.50, 66.11, -32.52)
CIE-LCHlch(46.50, 73.68, 333.81°)
OKLaboklab(56.7% 0.1932 -0.0888)
OKLCHoklch(56.7% 0.213 335.3)
XYZxyz(28.7207, 15.6437, 37.5759)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A6 #31BC47
analogous
#8D31BC #BC31A6 #BC3161
triadic
#BC31A6 #A6BC31 #31A6BC
tetradic
#BC31A6 #BC8D31 #31BC47 #3161BC
square
#BC31A6 #BC8D31 #31BC47 #3161BC
split-complementary
#BC31A6 #61BC31 #31BC8D
monochromatic
#5B1850 #8B247B #BC31A6 #D357C0 #E088D2

Accessibility & contrast

On white

5.09
#BC31A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BC31A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31A6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A6#FFFFFF#000000##FFFFFF
##BC31A61.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#C53C68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc31a6;
/* rgb */ color: rgb(188, 49, 166);
/* oklch */ color: oklch(56.7% 0.213 335.3);
Tailwind
colors: {
  custom: {
    50: '#d477c1',
    500: '#bc31a6',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a6;
$custom-light: #d477c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a6",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 309.496,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.21262,
    "h": 335.3
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#BC31A6
secondary
#7FCA8B
accent
#E25F46
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A6

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

Preview Lab → · Contrast checker → · Palette generator →

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