#BC31A5#BC31A5

#BC31A5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.212 H 335.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BC31A5
RGBrgb(188, 49, 165)
HSLhsl(310, 59%, 46%)
HSVhsv(310, 74%, 74%)
CMYKcmyk(0%, 73.9%, 12.2%, 26.3%)
CIE-LABlab(46.45, 65.96, -32.00)
CIE-LCHlch(46.45, 73.32, 334.12°)
OKLaboklab(56.65% 0.1931 -0.0873)
OKLCHoklch(56.65% 0.212 335.7)
XYZxyz(28.6293, 15.6072, 37.0947)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A5 #31BC48
analogous
#8E31BC #BC31A5 #BC3160
triadic
#BC31A5 #A5BC31 #31A5BC
tetradic
#BC31A5 #BC8E31 #31BC48 #3160BC
square
#BC31A5 #BC8E31 #31BC48 #3160BC
split-complementary
#BC31A5 #60BC31 #31BC8E
monochromatic
#5B1850 #8B247A #BC31A5 #D357BF #E088D1

Accessibility & contrast

On white

5.10
#BC31A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BC31A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31A5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A5#FFFFFF#000000##FFFFFF
##BC31A51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#6375A2
Tritanopia (blue-blind)
#C63C68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc31a5;
/* rgb */ color: rgb(188, 49, 165);
/* oklch */ color: oklch(56.6% 0.212 335.7);
Tailwind
colors: {
  custom: {
    50: '#d477c0',
    500: '#bc31a5',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a5;
$custom-light: #d477c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a5",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 309.928,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.21192,
    "h": 335.7
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#BC31A5
secondary
#7FCA8C
accent
#E26046
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A5

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

Preview Lab → · Contrast checker → · Palette generator →

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