#BC31AA#BC31AA

#BC31AA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 333.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BC31AA
RGBrgb(188, 49, 170)
HSLhsl(308, 59%, 46%)
HSVhsv(308, 74%, 74%)
CMYKcmyk(0%, 73.9%, 9.6%, 26.3%)
CIE-LABlab(46.70, 66.70, -34.58)
CIE-LCHlch(46.70, 75.13, 332.60°)
OKLaboklab(56.9% 0.1935 -0.0947)
OKLCHoklch(56.9% 0.215 333.9)
XYZxyz(29.0933, 15.7928, 39.5385)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31AA #31BC43
analogous
#8931BC #BC31AA #BC3165
triadic
#BC31AA #AABC31 #31AABC
tetradic
#BC31AA #BC8931 #31BC43 #3165BC
square
#BC31AA #BC8931 #31BC43 #3165BC
split-complementary
#BC31AA #65BC31 #31BC89
monochromatic
#5B1852 #8B247E #BC31AA #D357C3 #E088D4

Accessibility & contrast

On white

5.05
#BC31AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BC31AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31AA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31AA#FFFFFF#000000##FFFFFF
##BC31AA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#C53E6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc31aa;
/* rgb */ color: rgb(188, 49, 170);
/* oklch */ color: oklch(56.9% 0.215 333.9);
Tailwind
colors: {
  custom: {
    50: '#d477c3',
    500: '#bc31aa',
    950: '#000000',
  },
}
SCSS
$custom: #bc31aa;
$custom-light: #d477c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31aa",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 307.77,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.21542,
    "h": 333.9
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#BC31AA
secondary
#7FCA89
accent
#E25A46
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31AA

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

Preview Lab → · Contrast checker → · Palette generator →

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