#BC31C5#BC31C5

#BC31C5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.235 H 325.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BC31C5
RGBrgb(188, 49, 197)
HSLhsl(296, 60%, 48%)
HSVhsv(296, 75%, 77%)
CMYKcmyk(4.6%, 75.1%, 0%, 22.7%)
CIE-LABlab(48.16, 70.97, -48.08)
CIE-LCHlch(48.16, 85.72, 325.89°)
OKLaboklab(58.42% 0.1937 -0.1339)
OKLCHoklch(58.42% 0.235 325.3)
XYZxyz(31.9147, 16.9213, 54.3977)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31C5 #3AC531
analogous
#7231C5 #BC31C5 #C53184
triadic
#BC31C5 #C5BC31 #31C5BC
tetradic
#BC31C5 #C57231 #3AC531 #3184C5
square
#BC31C5 #C57231 #3AC531 #3184C5
split-complementary
#BC31C5 #84C531 #31C572
monochromatic
#5E1963 #8D2594 #BC31C5 #CF5DD7 #DE8EE3

Accessibility & contrast

On white

4.79
#BC31C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BC31C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31C5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31C5#FFFFFF#000000##FFFFFF
##BC31C51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#C04C7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bc31c5;
/* rgb */ color: rgb(188, 49, 197);
/* oklch */ color: oklch(58.4% 0.235 325.3);
Tailwind
colors: {
  custom: {
    50: '#d478d7',
    500: '#bc31c5',
    950: '#000000',
  },
}
SCSS
$custom: #bc31c5;
$custom-light: #d478d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31c5",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 296.351,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.23543,
    "h": 325.3
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#BC31C5
secondary
#89CD85
accent
#E3444E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BC31C5

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

Preview Lab → · Contrast checker → · Palette generator →

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