#BC40C5#BC40C5

#BC40C5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.219 H 325.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BC40C5
RGBrgb(188, 64, 197)
HSLhsl(296, 53%, 51%)
HSVhsv(296, 68%, 77%)
CMYKcmyk(4.6%, 67.5%, 0%, 22.7%)
CIE-LABlab(49.97, 65.83, -45.20)
CIE-LCHlch(49.97, 79.85, 325.53°)
OKLaboklab(59.71% 0.1794 -0.1256)
OKLCHoklch(59.71% 0.219 325)
XYZxyz(32.6497, 18.3914, 54.6427)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C5 #49C540
analogous
#7940C5 #BC40C5 #C5408B
triadic
#BC40C5 #C5BC40 #40C5BC
tetradic
#BC40C5 #C57940 #49C540 #408BC5
square
#BC40C5 #C57940 #49C540 #408BC5
split-complementary
#BC40C5 #8BC540 #40C579
monochromatic
#65206A #922F99 #BC40C5 #CC6FD3 #DD9EE2

Accessibility & contrast

On white

4.49
#BC40C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BC40C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C5#FFFFFF#000000##000000
##BC40C51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#226DC9
Deuteranopia (green-blind)
#5A7CC2
Tritanopia (blue-blind)
#C0557E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc40c5;
/* rgb */ color: rgb(188, 64, 197);
/* oklch */ color: oklch(59.7% 0.219 325.0);
Tailwind
colors: {
  custom: {
    50: '#d47fd7',
    500: '#bc40c5',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c5;
$custom-light: #d47fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c5",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 295.94,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.21901,
    "h": 325
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#BC40C5
secondary
#97CE93
accent
#DD4B55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40C5

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

Preview Lab → · Contrast checker → · Palette generator →

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