#BC40BA#BC40BA

#BC40BA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.210 H 328.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BC40BA
RGBrgb(188, 64, 186)
HSLhsl(301, 49%, 49%)
HSVhsv(301, 66%, 74%)
CMYKcmyk(0%, 66%, 1.1%, 26.3%)
CIE-LABlab(49.38, 63.96, -39.75)
CIE-LCHlch(49.38, 75.30, 328.14°)
OKLaboklab(59.1% 0.1791 -0.1098)
OKLCHoklch(59.1% 0.21 328.5)
XYZxyz(31.4350, 17.9055, 48.2453)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40BA #40BC42
analogous
#8040BC #BC40BA #BC407C
triadic
#BC40BA #BABC40 #40BABC
tetradic
#BC40BA #BC8040 #40BC42 #407CBC
square
#BC40BA #BC8040 #40BC42 #407CBC
split-complementary
#BC40BA #7CBC40 #40BC80
monochromatic
#612160 #8E308D #BC40BA #CD6CCB #DD9ADB

Accessibility & contrast

On white

4.58
#BC40BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BC40BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40BA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40BA#FFFFFF#000000##000000
##BC40BA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#C25078
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40ba;
/* rgb */ color: rgb(188, 64, 186);
/* oklch */ color: oklch(59.1% 0.210 328.5);
Tailwind
colors: {
  custom: {
    50: '#d47fcf',
    500: '#bc40ba',
    950: '#000000',
  },
}
SCSS
$custom: #bc40ba;
$custom-light: #d47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40ba",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 300.968,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.21009,
    "h": 328.5
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#BC40BA
secondary
#8FC990
accent
#D9514F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BC40BA

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

Preview Lab → · Contrast checker → · Palette generator →

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