#BC31BF#BC31BF

#BC31BF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.231 H 327.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BC31BF
RGBrgb(188, 49, 191)
HSLhsl(299, 59%, 47%)
HSVhsv(299, 74%, 75%)
CMYKcmyk(1.6%, 74.3%, 0%, 25.1%)
CIE-LABlab(47.82, 69.98, -45.14)
CIE-LCHlch(47.82, 83.28, 327.18°)
OKLaboklab(58.06% 0.1939 -0.1253)
OKLCHoklch(58.06% 0.231 327.1)
XYZxyz(31.2408, 16.6518, 50.8488)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31BF #34BF31
analogous
#7531BF #BC31BF #BF317B
triadic
#BC31BF #BFBC31 #31BFBC
tetradic
#BC31BF #BF7531 #34BF31 #317BBF
square
#BC31BF #BF7531 #34BF31 #317BBF
split-complementary
#BC31BF #7BBF31 #31BF75
monochromatic
#5C185E #8C258E #BC31BF #D259D4 #DF8AE1

Accessibility & contrast

On white

4.85
#BC31BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BC31BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31BF#FFFFFF#000000##FFFFFF
##BC31BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#C14976
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bc31bf;
/* rgb */ color: rgb(188, 49, 191);
/* oklch */ color: oklch(58.1% 0.231 327.1);
Tailwind
colors: {
  custom: {
    50: '#d478d3',
    500: '#bc31bf',
    950: '#000000',
  },
}
SCSS
$custom: #bc31bf;
$custom-light: #d478d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31bf",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 298.732,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.23085,
    "h": 327.1
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#BC31BF
secondary
#83CB81
accent
#E24549
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BC31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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