#BC40B9#BC40B9

#BC40B9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.209 H 328.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BC40B9
RGBrgb(188, 64, 185)
HSLhsl(301, 49%, 49%)
HSVhsv(301, 66%, 74%)
CMYKcmyk(0%, 66%, 1.6%, 26.3%)
CIE-LABlab(49.33, 63.79, -39.25)
CIE-LCHlch(49.33, 74.90, 328.40°)
OKLaboklab(59.05% 0.1791 -0.1083)
OKLCHoklch(59.05% 0.209 328.8)
XYZxyz(31.3291, 17.8631, 47.6874)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B9 #40BC43
analogous
#8140BC #BC40B9 #BC407B
triadic
#BC40B9 #B9BC40 #40B9BC
tetradic
#BC40B9 #BC8140 #40BC43 #407BBC
square
#BC40B9 #BC8140 #40BC43 #407BBC
split-complementary
#BC40B9 #7BBC40 #40BC81
monochromatic
#61215F #8E308C #BC40B9 #CD6CCB #DD9ADB

Accessibility & contrast

On white

4.59
#BC40B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BC40B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B9#FFFFFF#000000##FFFFFF
##BC40B91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#607BB6
Tritanopia (blue-blind)
#C25077
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40b9;
/* rgb */ color: rgb(188, 64, 185);
/* oklch */ color: oklch(59.0% 0.209 328.8);
Tailwind
colors: {
  custom: {
    50: '#d47fce',
    500: '#bc40b9',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b9;
$custom-light: #d47fce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b9",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 301.452,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.20929,
    "h": 328.8
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#BC40B9
secondary
#8FC991
accent
#D9524F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BC40B9

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

Preview Lab → · Contrast checker → · Palette generator →

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