#BC40BD#BC40BD

#BC40BD is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.212 H 327.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BC40BD
RGBrgb(188, 64, 189)
HSLhsl(300, 49%, 50%)
HSVhsv(300, 66%, 74%)
CMYKcmyk(0.5%, 66.1%, 0%, 25.9%)
CIE-LABlab(49.54, 64.46, -41.24)
CIE-LCHlch(49.54, 76.53, 327.39°)
OKLaboklab(59.26% 0.1793 -0.1141)
OKLCHoklch(59.26% 0.213 327.5)
XYZxyz(31.7573, 18.0344, 49.9426)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40BD #41BD40
analogous
#7E40BD #BC40BD #BD4080
triadic
#BC40BD #BDBC40 #40BDBC
tetradic
#BC40BD #BD7E40 #41BD40 #4080BD
square
#BC40BD #BD7E40 #41BD40 #4080BD
split-complementary
#BC40BD #80BD40 #40BD7E
monochromatic
#612162 #8F318F #BC40BD #CD6DCD #DC9ADD

Accessibility & contrast

On white

4.56
#BC40BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BC40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40BD#FFFFFF#000000##000000
##BC40BD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#C25279
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bc40bd;
/* rgb */ color: rgb(188, 64, 189);
/* oklch */ color: oklch(59.3% 0.212 327.5);
Tailwind
colors: {
  custom: {
    50: '#d47fd1',
    500: '#bc40bd',
    950: '#000000',
  },
}
SCSS
$custom: #bc40bd;
$custom-light: #d47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40bd",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 299.52,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.2125,
    "h": 327.5
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#BC40BD
secondary
#90C990
accent
#D94F50
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BC40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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