#BC31B9#BC31B9

#BC31B9 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.226 H 329.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BC31B9
RGBrgb(188, 49, 185)
HSLhsl(301, 59%, 46%)
HSVhsv(301, 74%, 74%)
CMYKcmyk(0%, 73.9%, 1.6%, 26.3%)
CIE-LABlab(47.49, 69.02, -42.16)
CIE-LCHlch(47.49, 80.88, 328.58°)
OKLaboklab(57.72% 0.194 -0.1167)
OKLCHoklch(57.72% 0.226 329)
XYZxyz(30.5940, 16.3931, 47.4424)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31B9 #31BC34
analogous
#7A31BC #BC31B9 #BC3174
triadic
#BC31B9 #B9BC31 #31B9BC
tetradic
#BC31B9 #BC7A31 #31BC34 #3174BC
square
#BC31B9 #BC7A31 #31BC34 #3174BC
split-complementary
#BC31B9 #74BC31 #31BC7A
monochromatic
#5B1859 #8B2489 #BC31B9 #D357D1 #E088DE

Accessibility & contrast

On white

4.91
#BC31B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BC31B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31B9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31B9#FFFFFF#000000##FFFFFF
##BC31B91.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#C24673
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bc31b9;
/* rgb */ color: rgb(188, 49, 185);
/* oklch */ color: oklch(57.7% 0.226 329.0);
Tailwind
colors: {
  custom: {
    50: '#d478ce',
    500: '#bc31b9',
    950: '#000000',
  },
}
SCSS
$custom: #bc31b9;
$custom-light: #d478ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31b9",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 301.295,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.22634,
    "h": 329
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#BC31B9
secondary
#7FCA81
accent
#E24946
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BC31B9

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

Preview Lab → · Contrast checker → · Palette generator →

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