#BC31AE#BC31AE

#BC31AE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.218 H 332.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BC31AE
RGBrgb(188, 49, 174)
HSLhsl(306, 59%, 46%)
HSVhsv(306, 74%, 74%)
CMYKcmyk(0%, 73.9%, 7.4%, 26.3%)
CIE-LABlab(46.90, 67.31, -36.62)
CIE-LCHlch(46.90, 76.63, 331.45°)
OKLaboklab(57.12% 0.1937 -0.1006)
OKLCHoklch(57.12% 0.218 332.5)
XYZxyz(29.4774, 15.9464, 41.5617)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31AE #31BC3F
analogous
#8531BC #BC31AE #BC3169
triadic
#BC31AE #AEBC31 #31AEBC
tetradic
#BC31AE #BC8531 #31BC3F #3169BC
square
#BC31AE #BC8531 #31BC3F #3169BC
split-complementary
#BC31AE #69BC31 #31BC85
monochromatic
#5B1854 #8B2481 #BC31AE #D357C7 #E088D7

Accessibility & contrast

On white

5.01
#BC31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BC31AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31AE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31AE#FFFFFF#000000##FFFFFF
##BC31AE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#C4406D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc31ae;
/* rgb */ color: rgb(188, 49, 174);
/* oklch */ color: oklch(57.1% 0.218 332.5);
Tailwind
colors: {
  custom: {
    50: '#d477c6',
    500: '#bc31ae',
    950: '#000000',
  },
}
SCSS
$custom: #bc31ae;
$custom-light: #d477c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31ae",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 306.043,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.21827,
    "h": 332.5
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#BC31AE
secondary
#7FCA87
accent
#E25646
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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