#BC40C3#BC40C3

#BC40C3 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.217 H 325.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BC40C3
RGBrgb(188, 64, 195)
HSLhsl(297, 52%, 51%)
HSVhsv(297, 67%, 76%)
CMYKcmyk(3.6%, 67.2%, 0%, 23.5%)
CIE-LABlab(49.86, 65.49, -44.22)
CIE-LCHlch(49.86, 79.02, 325.97°)
OKLaboklab(59.6% 0.1794 -0.1227)
OKLCHoklch(59.6% 0.217 325.6)
XYZxyz(32.4221, 18.3003, 53.4438)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C3 #47C340
analogous
#7A40C3 #BC40C3 #C34088
triadic
#BC40C3 #C3BC40 #40C3BC
tetradic
#BC40C3 #C37A40 #47C340 #4088C3
square
#BC40C3 #C37A40 #47C340 #4088C3
split-complementary
#BC40C3 #88C340 #40C37A
monochromatic
#642168 #912F97 #BC40C3 #CC6FD2 #DD9DE0

Accessibility & contrast

On white

4.51
#BC40C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BC40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C3#FFFFFF#000000##000000
##BC40C31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#5B7CC0
Tritanopia (blue-blind)
#C0547D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc40c3;
/* rgb */ color: rgb(188, 64, 195);
/* oklch */ color: oklch(59.6% 0.217 325.6);
Tailwind
colors: {
  custom: {
    50: '#d47fd6',
    500: '#bc40c3',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c3;
$custom-light: #d47fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c3",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 296.794,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.21736,
    "h": 325.6
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#BC40C3
secondary
#95CC92
accent
#DC4C54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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