#BC40C6#BC40C6

#BC40C6 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.220 H 324.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BC40C6
RGBrgb(188, 64, 198)
HSLhsl(296, 54%, 51%)
HSVhsv(296, 68%, 78%)
CMYKcmyk(5.1%, 67.7%, 0%, 22.4%)
CIE-LABlab(50.02, 66.01, -45.69)
CIE-LCHlch(50.02, 80.28, 325.31°)
OKLaboklab(59.77% 0.1794 -0.127)
OKLCHoklch(59.77% 0.22 324.7)
XYZxyz(32.7647, 18.4374, 55.2481)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C6 #4AC640
analogous
#7940C6 #BC40C6 #C6408D
triadic
#BC40C6 #C6BC40 #40C6BC
tetradic
#BC40C6 #C67940 #4AC640 #408DC6
square
#BC40C6 #C67940 #4AC640 #408DC6
split-complementary
#BC40C6 #8DC640 #40C679
monochromatic
#66206C #932E9B #BC40C6 #CD6FD4 #DD9EE2

Accessibility & contrast

On white

4.48
#BC40C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BC40C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C6#FFFFFF#000000##000000
##BC40C61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#216DCA
Deuteranopia (green-blind)
#597CC3
Tritanopia (blue-blind)
#C0557E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc40c6;
/* rgb */ color: rgb(188, 64, 198);
/* oklch */ color: oklch(59.8% 0.220 324.7);
Tailwind
colors: {
  custom: {
    50: '#d47fd8',
    500: '#bc40c6',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c6;
$custom-light: #d47fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c6",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 295.522,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.21983,
    "h": 324.7
  },
  "luminance": 0.18435
}

Semantic roles & 50–950 ramp

primary
#BC40C6
secondary
#98CE93
accent
#DD4A55
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40C6

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

Preview Lab → · Contrast checker → · Palette generator →

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