#BC40BC#BC40BC

#BC40BC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.212 H 327.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BC40BC
RGBrgb(188, 64, 188)
HSLhsl(300, 49%, 49%)
HSVhsv(300, 66%, 74%)
CMYKcmyk(0%, 66%, 0%, 26.3%)
CIE-LABlab(49.49, 64.29, -40.75)
CIE-LCHlch(49.49, 76.12, 327.64°)
OKLaboklab(59.21% 0.1792 -0.1127)
OKLCHoklch(59.21% 0.212 327.8)
XYZxyz(31.6491, 17.9912, 49.3729)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40BC #40BC40
analogous
#7E40BC #BC40BC #BC407E
triadic
#BC40BC #BCBC40 #40BCBC
tetradic
#BC40BC #BC7E40 #40BC40 #407EBC
square
#BC40BC #BC7E40 #40BC40 #407EBC
split-complementary
#BC40BC #7EBC40 #40BC7E
monochromatic
#612161 #8E308E #BC40BC #CD6CCD #DD9ADD

Accessibility & contrast

On white

4.57
#BC40BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BC40BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40BC#FFFFFF#000000##000000
##BC40BC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BC0
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#C25179
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bc40bc;
/* rgb */ color: rgb(188, 64, 188);
/* oklch */ color: oklch(59.2% 0.212 327.8);
Tailwind
colors: {
  custom: {
    50: '#d47fd0',
    500: '#bc40bc',
    950: '#000000',
  },
}
SCSS
$custom: #bc40bc;
$custom-light: #d47fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40bc",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 300,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.21169,
    "h": 327.8
  },
  "luminance": 0.17989
}

Semantic roles & 50–950 ramp

primary
#BC40BC
secondary
#8FC98F
accent
#D94F4F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BC40BC

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

Preview Lab → · Contrast checker → · Palette generator →

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