#BC31B3#BC31B3

#BC31B3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.222 H 330.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BC31B3
RGBrgb(188, 49, 179)
HSLhsl(304, 59%, 46%)
HSVhsv(304, 74%, 74%)
CMYKcmyk(0%, 73.9%, 4.8%, 26.3%)
CIE-LABlab(47.16, 68.07, -39.16)
CIE-LCHlch(47.16, 78.53, 330.09°)
OKLaboklab(57.39% 0.1939 -0.1079)
OKLCHoklch(57.39% 0.222 330.9)
XYZxyz(29.9740, 16.1451, 44.1767)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31B3 #31BC3A
analogous
#8031BC #BC31B3 #BC316E
triadic
#BC31B3 #B3BC31 #31B3BC
tetradic
#BC31B3 #BC8031 #31BC3A #316EBC
square
#BC31B3 #BC8031 #31BC3A #316EBC
split-complementary
#BC31B3 #6EBC31 #31BC80
monochromatic
#5B1857 #8B2485 #BC31B3 #D357CB #E088DA

Accessibility & contrast

On white

4.97
#BC31B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BC31B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31B3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31B3#FFFFFF#000000##FFFFFF
##BC31B31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B7
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#C34370
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bc31b3;
/* rgb */ color: rgb(188, 49, 179);
/* oklch */ color: oklch(57.4% 0.222 330.9);
Tailwind
colors: {
  custom: {
    50: '#d478ca',
    500: '#bc31b3',
    950: '#000000',
  },
}
SCSS
$custom: #bc31b3;
$custom-light: #d478ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31b3",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 303.885,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.22191,
    "h": 330.9
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#BC31B3
secondary
#7FCA84
accent
#E25046
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC31B3

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

Preview Lab → · Contrast checker → · Palette generator →

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