#BC40AB#BC40AB

#BC40AB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.198 H 333.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BC40AB
RGBrgb(188, 64, 171)
HSLhsl(308, 49%, 49%)
HSVhsv(308, 66%, 74%)
CMYKcmyk(0%, 66%, 9%, 26.3%)
CIE-LABlab(48.64, 61.54, -32.13)
CIE-LCHlch(48.64, 69.42, 332.43°)
OKLaboklab(58.32% 0.178 -0.0878)
OKLCHoklch(58.32% 0.198 333.7)
XYZxyz(29.9233, 17.3008, 40.2836)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40AB #40BC51
analogous
#8F40BC #BC40AB #BC406D
triadic
#BC40AB #ABBC40 #40ABBC
tetradic
#BC40AB #BC8F40 #40BC51 #406DBC
square
#BC40AB #BC8F40 #40BC51 #406DBC
split-complementary
#BC40AB #6DBC40 #40BC8F
monochromatic
#612158 #8E3081 #BC40AB #CD6CC0 #DD9AD3

Accessibility & contrast

On white

4.71
#BC40AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BC40AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40AB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40AB#FFFFFF#000000##FFFFFF
##BC40AB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#C44A70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40ab;
/* rgb */ color: rgb(188, 64, 171);
/* oklch */ color: oklch(58.3% 0.198 333.7);
Tailwind
colors: {
  custom: {
    50: '#d37ec4',
    500: '#bc40ab',
    950: '#000000',
  },
}
SCSS
$custom: #bc40ab;
$custom-light: #d37ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40ab",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 308.226,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.19845,
    "h": 333.7
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#BC40AB
secondary
#8FC997
accent
#D9624F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40AB

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

Preview Lab → · Contrast checker → · Palette generator →

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