#BC40C7#BC40C7

#BC40C7 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.221 H 324.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BC40C7
RGBrgb(188, 64, 199)
HSLhsl(295, 55%, 52%)
HSVhsv(295, 68%, 78%)
CMYKcmyk(5.5%, 67.8%, 0%, 22%)
CIE-LABlab(50.08, 66.18, -46.18)
CIE-LCHlch(50.08, 80.70, 325.09°)
OKLaboklab(59.83% 0.1794 -0.1284)
OKLCHoklch(59.83% 0.221 324.4)
XYZxyz(32.8804, 18.4837, 55.8576)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C7 #4BC740
analogous
#7940C7 #BC40C7 #C7408F
triadic
#BC40C7 #C7BC40 #40C7BC
tetradic
#BC40C7 #C77940 #4BC740 #408FC7
square
#BC40C7 #C77940 #4BC740 #408FC7
split-complementary
#BC40C7 #8FC740 #40C779
monochromatic
#66206D #932E9C #BC40C7 #CD6FD5 #DD9FE3

Accessibility & contrast

On white

4.47
#BC40C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BC40C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C7#FFFFFF#000000##000000
##BC40C71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#C0567F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc40c7;
/* rgb */ color: rgb(188, 64, 199);
/* oklch */ color: oklch(59.8% 0.221 324.4);
Tailwind
colors: {
  custom: {
    50: '#d47fd8',
    500: '#bc40c7',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c7;
$custom-light: #d47fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c7",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 295.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.22065,
    "h": 324.4
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#BC40C7
secondary
#99CF94
accent
#DE4A56
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40C7

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

Preview Lab → · Contrast checker → · Palette generator →

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