#BC31B1#BC31B1

#BC31B1 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.220 H 331.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BC31B1
RGBrgb(188, 49, 177)
HSLhsl(305, 59%, 46%)
HSVhsv(305, 74%, 74%)
CMYKcmyk(0%, 73.9%, 5.9%, 26.3%)
CIE-LABlab(47.06, 67.77, -38.15)
CIE-LCHlch(47.06, 77.76, 330.62°)
OKLaboklab(57.28% 0.1938 -0.105)
OKLCHoklch(57.28% 0.22 331.5)
XYZxyz(29.7732, 16.0647, 43.1192)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31B1 #31BC3C
analogous
#8231BC #BC31B1 #BC316C
triadic
#BC31B1 #B1BC31 #31B1BC
tetradic
#BC31B1 #BC8231 #31BC3C #316CBC
square
#BC31B1 #BC8231 #31BC3C #316CBC
split-complementary
#BC31B1 #6CBC31 #31BC82
monochromatic
#5B1856 #8B2483 #BC31B1 #D357C9 #E088D9

Accessibility & contrast

On white

4.99
#BC31B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BC31B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31B1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31B1#FFFFFF#000000##FFFFFF
##BC31B11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B4
Deuteranopia (green-blind)
#5E76AE
Tritanopia (blue-blind)
#C4426E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bc31b1;
/* rgb */ color: rgb(188, 49, 177);
/* oklch */ color: oklch(57.3% 0.220 331.5);
Tailwind
colors: {
  custom: {
    50: '#d478c9',
    500: '#bc31b1',
    950: '#000000',
  },
}
SCSS
$custom: #bc31b1;
$custom-light: #d478c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31b1",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 304.748,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.22045,
    "h": 331.5
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#BC31B1
secondary
#7FCA85
accent
#E25246
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC31B1

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

Preview Lab → · Contrast checker → · Palette generator →

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