#BC31AF#BC31AF

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

Color values

HEX#BC31AF
RGBrgb(188, 49, 175)
HSLhsl(306, 59%, 46%)
HSVhsv(306, 74%, 74%)
CMYKcmyk(0%, 73.9%, 6.9%, 26.3%)
CIE-LABlab(46.96, 67.46, -37.13)
CIE-LCHlch(46.96, 77.00, 331.17°)
OKLaboklab(57.17% 0.1937 -0.1021)
OKLCHoklch(57.17% 0.219 332.2)
XYZxyz(29.5753, 15.9856, 42.0770)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31AF #31BC3E
analogous
#8431BC #BC31AF #BC3169
triadic
#BC31AF #AFBC31 #31AFBC
tetradic
#BC31AF #BC8431 #31BC3E #3169BC
square
#BC31AF #BC8431 #31BC3E #3169BC
split-complementary
#BC31AF #69BC31 #31BC84
monochromatic
#5B1855 #8B2482 #BC31AF #D357C8 #E088D8

Accessibility & contrast

On white

5.00
#BC31AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC31AF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31AF#FFFFFF#000000##FFFFFF
##BC31AF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#5F76AC
Tritanopia (blue-blind)
#C4416D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc31af;
/* rgb */ color: rgb(188, 49, 175);
/* oklch */ color: oklch(57.2% 0.219 332.2);
Tailwind
colors: {
  custom: {
    50: '#d477c7',
    500: '#bc31af',
    950: '#000000',
  },
}
SCSS
$custom: #bc31af;
$custom-light: #d477c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31af",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 305.612,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.219,
    "h": 332.2
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC31AF

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

Preview Lab → · Contrast checker → · Palette generator →

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