#BC40B2#BC40B2

#BC40B2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.204 H 331.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BC40B2
RGBrgb(188, 64, 178)
HSLhsl(305, 49%, 49%)
HSVhsv(305, 66%, 74%)
CMYKcmyk(0%, 66%, 5.3%, 26.3%)
CIE-LABlab(48.98, 62.65, -35.71)
CIE-LCHlch(48.98, 72.11, 330.31°)
OKLaboklab(58.68% 0.1786 -0.0981)
OKLCHoklch(58.68% 0.204 331.2)
XYZxyz(30.6082, 17.5748, 43.8910)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B2 #40BC4A
analogous
#8840BC #BC40B2 #BC4074
triadic
#BC40B2 #B2BC40 #40B2BC
tetradic
#BC40B2 #BC8840 #40BC4A #4074BC
square
#BC40B2 #BC8840 #40BC4A #4074BC
split-complementary
#BC40B2 #74BC40 #40BC88
monochromatic
#61215C #8E3087 #BC40B2 #CD6CC5 #DD9AD7

Accessibility & contrast

On white

4.65
#BC40B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BC40B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B2#FFFFFF#000000##FFFFFF
##BC40B21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#C34D74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc40b2;
/* rgb */ color: rgb(188, 64, 178);
/* oklch */ color: oklch(58.7% 0.204 331.2);
Tailwind
colors: {
  custom: {
    50: '#d37ec9',
    500: '#bc40b2',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b2;
$custom-light: #d37ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b2",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 304.839,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.20379,
    "h": 331.2
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#BC40B2
secondary
#8FC994
accent
#D95A4F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B2

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

Preview Lab → · Contrast checker → · Palette generator →

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