#BC40B1#BC40B1

#BC40B1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.6% C 0.203 H 331.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BC40B1
RGBrgb(188, 64, 177)
HSLhsl(305, 49%, 49%)
HSVhsv(305, 66%, 74%)
CMYKcmyk(0%, 66%, 5.9%, 26.3%)
CIE-LABlab(48.93, 62.49, -35.20)
CIE-LCHlch(48.93, 71.72, 330.60°)
OKLaboklab(58.62% 0.1785 -0.0967)
OKLCHoklch(58.62% 0.203 331.6)
XYZxyz(30.5082, 17.5348, 43.3642)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B1 #40BC4B
analogous
#8940BC #BC40B1 #BC4073
triadic
#BC40B1 #B1BC40 #40B1BC
tetradic
#BC40B1 #BC8940 #40BC4B #4073BC
square
#BC40B1 #BC8940 #40BC4B #4073BC
split-complementary
#BC40B1 #73BC40 #40BC89
monochromatic
#61215B #8E3086 #BC40B1 #CD6CC4 #DD9AD7

Accessibility & contrast

On white

4.66
#BC40B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC40B1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B1#FFFFFF#000000##FFFFFF
##BC40B11.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B4
Deuteranopia (green-blind)
#647AAE
Tritanopia (blue-blind)
#C34C73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc40b1;
/* rgb */ color: rgb(188, 64, 177);
/* oklch */ color: oklch(58.6% 0.203 331.6);
Tailwind
colors: {
  custom: {
    50: '#d37ec8',
    500: '#bc40b1',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b1;
$custom-light: #d37ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b1",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 305.323,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.20302,
    "h": 331.6
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC40B1

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

Preview Lab → · Contrast checker → · Palette generator →

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