#BC31BC#BC31BC

#BC31BC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.229 H 328.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BC31BC
RGBrgb(188, 49, 188)
HSLhsl(300, 59%, 46%)
HSVhsv(300, 74%, 74%)
CMYKcmyk(0%, 73.9%, 0%, 26.3%)
CIE-LABlab(47.65, 69.50, -43.66)
CIE-LCHlch(47.65, 82.07, 327.87°)
OKLaboklab(57.89% 0.1939 -0.121)
OKLCHoklch(57.89% 0.229 328)
XYZxyz(30.9141, 16.5211, 49.1279)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31BC #31BC31
analogous
#7731BC #BC31BC #BC3177
triadic
#BC31BC #BCBC31 #31BCBC
tetradic
#BC31BC #BC7731 #31BC31 #3177BC
square
#BC31BC #BC7731 #31BC31 #3177BC
split-complementary
#BC31BC #77BC31 #31BC77
monochromatic
#5B185B #8B248B #BC31BC #D357D3 #E088E0

Accessibility & contrast

On white

4.88
#BC31BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BC31BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31BC#FFFFFF#000000##FFFFFF
##BC31BC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#5877B9
Tritanopia (blue-blind)
#C24775
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bc31bc;
/* rgb */ color: rgb(188, 49, 188);
/* oklch */ color: oklch(57.9% 0.229 328.0);
Tailwind
colors: {
  custom: {
    50: '#d478d1',
    500: '#bc31bc',
    950: '#000000',
  },
}
SCSS
$custom: #bc31bc;
$custom-light: #d478d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31bc",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 300,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.22859,
    "h": 328
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#BC31BC
secondary
#7FCA7F
accent
#E24646
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BC31BC

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

Preview Lab → · Contrast checker → · Palette generator →

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