#BC40AC#BC40AC

#BC40AC is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.4% C 0.199 H 333.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BC40AC
RGBrgb(188, 64, 172)
HSLhsl(308, 49%, 49%)
HSVhsv(308, 66%, 74%)
CMYKcmyk(0%, 66%, 8.5%, 26.3%)
CIE-LABlab(48.68, 61.69, -32.65)
CIE-LCHlch(48.68, 69.80, 332.11°)
OKLaboklab(58.37% 0.1781 -0.0893)
OKLCHoklch(58.37% 0.199 333.4)
XYZxyz(30.0190, 17.3391, 40.7875)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40AC #40BC50
analogous
#8E40BC #BC40AC #BC406E
triadic
#BC40AC #ACBC40 #40ACBC
tetradic
#BC40AC #BC8E40 #40BC50 #406EBC
square
#BC40AC #BC8E40 #40BC50 #406EBC
split-complementary
#BC40AC #6EBC40 #40BC8E
monochromatic
#612158 #8E3082 #BC40AC #CD6CC1 #DD9AD4

Accessibility & contrast

On white

4.70
#BC40AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BC40AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40AC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40AC#FFFFFF#000000##FFFFFF
##BC40AC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#C44A70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc40ac;
/* rgb */ color: rgb(188, 64, 172);
/* oklch */ color: oklch(58.4% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#d37ec5',
    500: '#bc40ac',
    950: '#000000',
  },
}
SCSS
$custom: #bc40ac;
$custom-light: #d37ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40ac",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 307.742,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.19919,
    "h": 333.4
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#BC40AC
secondary
#8FC997
accent
#D9614F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40AC

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

Preview Lab → · Contrast checker → · Palette generator →

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