#BC40C1#BC40C1

#BC40C1 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.216 H 326.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BC40C1
RGBrgb(188, 64, 193)
HSLhsl(298, 51%, 50%)
HSVhsv(298, 67%, 76%)
CMYKcmyk(2.6%, 66.8%, 0%, 24.3%)
CIE-LABlab(49.75, 65.14, -43.23)
CIE-LCHlch(49.75, 78.18, 326.43°)
OKLaboklab(59.49% 0.1794 -0.1199)
OKLCHoklch(59.49% 0.216 326.2)
XYZxyz(32.1975, 18.2105, 52.2608)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C1 #45C140
analogous
#7B40C1 #BC40C1 #C14086
triadic
#BC40C1 #C1BC40 #40C1BC
tetradic
#BC40C1 #C17B40 #45C140 #4086C1
square
#BC40C1 #C17B40 #45C140 #4086C1
split-complementary
#BC40C1 #86C140 #40C17B
monochromatic
#632166 #903094 #BC40C1 #CC6ED0 #DC9CDF

Accessibility & contrast

On white

4.52
#BC40C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BC40C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C1#FFFFFF#000000##000000
##BC40C11.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#286CC5
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#C1537C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bc40c1;
/* rgb */ color: rgb(188, 64, 193);
/* oklch */ color: oklch(59.5% 0.216 326.2);
Tailwind
colors: {
  custom: {
    50: '#d47fd4',
    500: '#bc40c1',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c1;
$custom-light: #d47fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c1",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 297.674,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.21573,
    "h": 326.2
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#BC40C1
secondary
#94CB92
accent
#DA4D53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40C1

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

Preview Lab → · Contrast checker → · Palette generator →

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