#BC31C4#BC31C4

#BC31C4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.235 H 325.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BC31C4
RGBrgb(188, 49, 196)
HSLhsl(297, 60%, 48%)
HSVhsv(297, 75%, 77%)
CMYKcmyk(4.1%, 75%, 0%, 23.1%)
CIE-LABlab(48.10, 70.80, -47.59)
CIE-LCHlch(48.10, 85.31, 326.09°)
OKLaboklab(58.36% 0.1937 -0.1325)
OKLCHoklch(58.36% 0.235 325.6)
XYZxyz(31.8005, 16.8757, 53.7962)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31C4 #39C431
analogous
#7331C4 #BC31C4 #C43182
triadic
#BC31C4 #C4BC31 #31C4BC
tetradic
#BC31C4 #C47331 #39C431 #3182C4
square
#BC31C4 #C47331 #39C431 #3182C4
split-complementary
#BC31C4 #82C431 #31C473
monochromatic
#5E1962 #8D2593 #BC31C4 #D05CD6 #DE8DE2

Accessibility & contrast

On white

4.80
#BC31C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BC31C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31C4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31C4#FFFFFF#000000##FFFFFF
##BC31C41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#C14B79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bc31c4;
/* rgb */ color: rgb(188, 49, 196);
/* oklch */ color: oklch(58.4% 0.235 325.6);
Tailwind
colors: {
  custom: {
    50: '#d478d6',
    500: '#bc31c4',
    950: '#000000',
  },
}
SCSS
$custom: #bc31c4;
$custom-light: #d478d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31c4",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 296.735,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.23466,
    "h": 325.6
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#BC31C4
secondary
#88CD84
accent
#E3454D
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BC31C4

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

Preview Lab → · Contrast checker → · Palette generator →

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