#BC31C0#BC31C0

#BC31C0 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.232 H 326.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BC31C0
RGBrgb(188, 49, 192)
HSLhsl(298, 59%, 47%)
HSVhsv(298, 74%, 75%)
CMYKcmyk(2.1%, 74.5%, 0%, 24.7%)
CIE-LABlab(47.87, 70.15, -45.63)
CIE-LCHlch(47.87, 83.68, 326.96°)
OKLaboklab(58.12% 0.1939 -0.1267)
OKLCHoklch(58.12% 0.232 326.8)
XYZxyz(31.3512, 16.6960, 51.4303)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31C0 #35C031
analogous
#7531C0 #BC31C0 #C0317C
triadic
#BC31C0 #C0BC31 #31C0BC
tetradic
#BC31C0 #C07531 #35C031 #317CC0
square
#BC31C0 #C07531 #35C031 #317CC0
split-complementary
#BC31C0 #7CC031 #31C075
monochromatic
#5D185E #8C258F #BC31C0 #D159D5 #DF8AE1

Accessibility & contrast

On white

4.84
#BC31C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BC31C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31C0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31C0#FFFFFF#000000##FFFFFF
##BC31C01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#C14977
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bc31c0;
/* rgb */ color: rgb(188, 49, 192);
/* oklch */ color: oklch(58.1% 0.232 326.8);
Tailwind
colors: {
  custom: {
    50: '#d478d3',
    500: '#bc31c0',
    950: '#000000',
  },
}
SCSS
$custom: #bc31c0;
$custom-light: #d478d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31c0",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 298.322,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.2316,
    "h": 326.8
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#BC31C0
secondary
#84CB82
accent
#E3454A
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BC31C0

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

Preview Lab → · Contrast checker → · Palette generator →

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