#BC40A9#BC40A9

#BC40A9 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.2% C 0.197 H 334.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BC40A9
RGBrgb(188, 64, 169)
HSLhsl(309, 49%, 49%)
HSVhsv(309, 66%, 74%)
CMYKcmyk(0%, 66%, 10.1%, 26.3%)
CIE-LABlab(48.54, 61.22, -31.10)
CIE-LCHlch(48.54, 68.67, 333.07°)
OKLaboklab(58.22% 0.1777 -0.0849)
OKLCHoklch(58.22% 0.197 334.5)
XYZxyz(29.7341, 17.2252, 39.2872)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A9 #40BC53
analogous
#9140BC #BC40A9 #BC406B
triadic
#BC40A9 #A9BC40 #40A9BC
tetradic
#BC40A9 #BC9140 #40BC53 #406BBC
square
#BC40A9 #BC9140 #40BC53 #406BBC
split-complementary
#BC40A9 #6BBC40 #40BC91
monochromatic
#612157 #8E3080 #BC40A9 #CD6CBE #DD9AD2

Accessibility & contrast

On white

4.72
#BC40A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BC40A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40A9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40A9#FFFFFF#000000##FFFFFF
##BC40A91.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AC
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#C5496F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40a9;
/* rgb */ color: rgb(188, 64, 169);
/* oklch */ color: oklch(58.2% 0.197 334.5);
Tailwind
colors: {
  custom: {
    50: '#d37ec3',
    500: '#bc40a9',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a9;
$custom-light: #d37ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a9",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 309.194,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.19695,
    "h": 334.5
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#BC40A9
secondary
#8FC998
accent
#D9644F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40A9

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

Preview Lab → · Contrast checker → · Palette generator →

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