#BC31B0#BC31B0

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

Color values

HEX#BC31B0
RGBrgb(188, 49, 176)
HSLhsl(305, 59%, 46%)
HSVhsv(305, 74%, 74%)
CMYKcmyk(0%, 73.9%, 6.4%, 26.3%)
CIE-LABlab(47.01, 67.61, -37.64)
CIE-LCHlch(47.01, 77.38, 330.89°)
OKLaboklab(57.22% 0.1938 -0.1036)
OKLCHoklch(57.22% 0.22 331.9)
XYZxyz(29.6739, 16.0250, 42.5962)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31B0 #31BC3D
analogous
#8331BC #BC31B0 #BC316B
triadic
#BC31B0 #B0BC31 #31B0BC
tetradic
#BC31B0 #BC8331 #31BC3D #316BBC
square
#BC31B0 #BC8331 #31BC3D #316BBC
split-complementary
#BC31B0 #6BBC31 #31BC83
monochromatic
#5B1855 #8B2483 #BC31B0 #D357C8 #E088D8

Accessibility & contrast

On white

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

On black

4.20
#BC31B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BC31B0#FFFFFF#000000##FFFFFF
##BC31B01.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B3
Deuteranopia (green-blind)
#5E76AD
Tritanopia (blue-blind)
#C4416E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc31b0;
/* rgb */ color: rgb(188, 49, 176);
/* oklch */ color: oklch(57.2% 0.220 331.9);
Tailwind
colors: {
  custom: {
    50: '#d477c8',
    500: '#bc31b0',
    950: '#000000',
  },
}
SCSS
$custom: #bc31b0;
$custom-light: #d477c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31b0",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 305.18,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.21972,
    "h": 331.9
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#BC31B0
secondary
#7FCA86
accent
#E25346
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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