#BC40B8#BC40B8

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

Color values

HEX#BC40B8
RGBrgb(188, 64, 184)
HSLhsl(302, 49%, 49%)
HSVhsv(302, 66%, 74%)
CMYKcmyk(0%, 66%, 2.1%, 26.3%)
CIE-LABlab(49.28, 63.63, -38.74)
CIE-LCHlch(49.28, 74.50, 328.66°)
OKLaboklab(58.99% 0.179 -0.1069)
OKLCHoklch(58.99% 0.209 329.2)
XYZxyz(31.2239, 17.8211, 47.1334)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B8 #40BC44
analogous
#8240BC #BC40B8 #BC407A
triadic
#BC40B8 #B8BC40 #40B8BC
tetradic
#BC40B8 #BC8240 #40BC44 #407ABC
square
#BC40B8 #BC8240 #40BC44 #407ABC
split-complementary
#BC40B8 #7ABC40 #40BC82
monochromatic
#61215F #8E308B #BC40B8 #CD6CCA #DD9ADA

Accessibility & contrast

On white

4.60
#BC40B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC40B8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B8#FFFFFF#000000##FFFFFF
##BC40B81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#C24F77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40b8;
/* rgb */ color: rgb(188, 64, 184);
/* oklch */ color: oklch(59.0% 0.208 329.2);
Tailwind
colors: {
  custom: {
    50: '#d47fce',
    500: '#bc40b8',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b8;
$custom-light: #d47fce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b8",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 301.935,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58991,
    "c": 0.2085,
    "h": 329.2
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#BC40B8
secondary
#8FC991
accent
#D9534F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B8

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

Preview Lab → · Contrast checker → · Palette generator →

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