#BC40B6#BC40B6

#BC40B6 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.207 H 329.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BC40B6
RGBrgb(188, 64, 182)
HSLhsl(303, 49%, 49%)
HSVhsv(303, 66%, 74%)
CMYKcmyk(0%, 66%, 3.2%, 26.3%)
CIE-LABlab(49.18, 63.30, -37.74)
CIE-LCHlch(49.18, 73.69, 329.20°)
OKLaboklab(58.89% 0.1789 -0.104)
OKLCHoklch(58.89% 0.207 329.8)
XYZxyz(31.0157, 17.7378, 46.0371)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B6 #40BC46
analogous
#8440BC #BC40B6 #BC4078
triadic
#BC40B6 #B6BC40 #40B6BC
tetradic
#BC40B6 #BC8440 #40BC46 #4078BC
square
#BC40B6 #BC8440 #40BC46 #4078BC
split-complementary
#BC40B6 #78BC40 #40BC84
monochromatic
#61215E #8E308A #BC40B6 #CD6CC8 #DD9AD9

Accessibility & contrast

On white

4.62
#BC40B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BC40B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B6#FFFFFF#000000##FFFFFF
##BC40B61.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#627BB3
Tritanopia (blue-blind)
#C34F76
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40b6;
/* rgb */ color: rgb(188, 64, 182);
/* oklch */ color: oklch(58.9% 0.207 329.8);
Tailwind
colors: {
  custom: {
    50: '#d47ecc',
    500: '#bc40b6',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b6;
$custom-light: #d47ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b6",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 302.903,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.20691,
    "h": 329.8
  },
  "luminance": 0.17736
}

Semantic roles & 50–950 ramp

primary
#BC40B6
secondary
#8FC992
accent
#D9564F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B6

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

Preview Lab → · Contrast checker → · Palette generator →

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