#BC40B3#BC40B3

#BC40B3 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.205 H 330.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BC40B3
RGBrgb(188, 64, 179)
HSLhsl(304, 49%, 49%)
HSVhsv(304, 66%, 74%)
CMYKcmyk(0%, 66%, 4.8%, 26.3%)
CIE-LABlab(49.03, 62.81, -36.22)
CIE-LCHlch(49.03, 72.50, 330.03°)
OKLaboklab(58.73% 0.1787 -0.0996)
OKLCHoklch(58.73% 0.205 330.9)
XYZxyz(30.7090, 17.6151, 44.4217)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B3 #40BC49
analogous
#8740BC #BC40B3 #BC4075
triadic
#BC40B3 #B3BC40 #40B3BC
tetradic
#BC40B3 #BC8740 #40BC49 #4075BC
square
#BC40B3 #BC8740 #40BC49 #4075BC
split-complementary
#BC40B3 #75BC40 #40BC87
monochromatic
#61215C #8E3088 #BC40B3 #CD6CC6 #DD9AD8

Accessibility & contrast

On white

4.64
#BC40B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BC40B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B3#FFFFFF#000000##FFFFFF
##BC40B31.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#637BB0
Tritanopia (blue-blind)
#C34D74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc40b3;
/* rgb */ color: rgb(188, 64, 179);
/* oklch */ color: oklch(58.7% 0.205 330.9);
Tailwind
colors: {
  custom: {
    50: '#d37eca',
    500: '#bc40b3',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b3;
$custom-light: #d37eca;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b3",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 304.355,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.20456,
    "h": 330.9
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#BC40B3
secondary
#8FC993
accent
#D9594F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B3

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

Preview Lab → · Contrast checker → · Palette generator →

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