#BC40B7#BC40B7

#BC40B7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.208 H 329.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BC40B7
RGBrgb(188, 64, 183)
HSLhsl(302, 49%, 49%)
HSVhsv(302, 66%, 74%)
CMYKcmyk(0%, 66%, 2.7%, 26.3%)
CIE-LABlab(49.23, 63.46, -38.24)
CIE-LCHlch(49.23, 74.09, 328.93°)
OKLaboklab(58.94% 0.179 -0.1054)
OKLCHoklch(58.94% 0.208 329.5)
XYZxyz(31.1194, 17.7793, 46.5833)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B7 #40BC45
analogous
#8340BC #BC40B7 #BC4079
triadic
#BC40B7 #B7BC40 #40B7BC
tetradic
#BC40B7 #BC8340 #40BC45 #4079BC
square
#BC40B7 #BC8340 #40BC45 #4079BC
split-complementary
#BC40B7 #79BC40 #40BC83
monochromatic
#61215E #8E308B #BC40B7 #CD6CC9 #DD9ADA

Accessibility & contrast

On white

4.61
#BC40B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BC40B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B7#FFFFFF#000000##FFFFFF
##BC40B71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#C34F76
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40b7;
/* rgb */ color: rgb(188, 64, 183);
/* oklch */ color: oklch(58.9% 0.208 329.5);
Tailwind
colors: {
  custom: {
    50: '#d47ecd',
    500: '#bc40b7',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b7;
$custom-light: #d47ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b7",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 302.419,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.20771,
    "h": 329.5
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#BC40B7
secondary
#8FC992
accent
#D9554F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B7

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

Preview Lab → · Contrast checker → · Palette generator →

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