#BC40B4#BC40B4

#BC40B4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.205 H 330.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BC40B4
RGBrgb(188, 64, 180)
HSLhsl(304, 49%, 49%)
HSVhsv(304, 66%, 74%)
CMYKcmyk(0%, 66%, 4.3%, 26.3%)
CIE-LABlab(49.08, 62.97, -36.73)
CIE-LCHlch(49.08, 72.90, 329.75°)
OKLaboklab(58.78% 0.1788 -0.101)
OKLCHoklch(58.78% 0.205 330.5)
XYZxyz(30.8105, 17.6557, 44.9563)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B4 #40BC48
analogous
#8640BC #BC40B4 #BC4076
triadic
#BC40B4 #B4BC40 #40B4BC
tetradic
#BC40B4 #BC8640 #40BC48 #4076BC
square
#BC40B4 #BC8640 #40BC48 #4076BC
split-complementary
#BC40B4 #76BC40 #40BC86
monochromatic
#61215D #8E3088 #BC40B4 #CD6CC7 #DD9AD8

Accessibility & contrast

On white

4.64
#BC40B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BC40B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B4#FFFFFF#000000##FFFFFF
##BC40B41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB7
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#C34E75
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40b4;
/* rgb */ color: rgb(188, 64, 180);
/* oklch */ color: oklch(58.8% 0.205 330.5);
Tailwind
colors: {
  custom: {
    50: '#d37ecb',
    500: '#bc40b4',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b4;
$custom-light: #d37ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b4",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 303.871,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58779,
    "c": 0.20535,
    "h": 330.5
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#BC40B4
secondary
#8FC993
accent
#D9584F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B4

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

Preview Lab → · Contrast checker → · Palette generator →

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