#BC40C9#BC40C9

#BC40C9 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.222 H 323.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BC40C9
RGBrgb(188, 64, 201)
HSLhsl(294, 56%, 52%)
HSVhsv(294, 68%, 79%)
CMYKcmyk(6.5%, 68.2%, 0%, 21.2%)
CIE-LABlab(50.19, 66.53, -47.15)
CIE-LCHlch(50.19, 81.55, 324.67°)
OKLaboklab(59.94% 0.1794 -0.1313)
OKLCHoklch(59.94% 0.222 323.8)
XYZxyz(33.1141, 18.5772, 57.0886)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C9 #4DC940
analogous
#7840C9 #BC40C9 #C94091
triadic
#BC40C9 #C9BC40 #40C9BC
tetradic
#BC40C9 #C97840 #4DC940 #4091C9
square
#BC40C9 #C97840 #4DC940 #4091C9
split-complementary
#BC40C9 #91C940 #40C978
monochromatic
#681F6F #942D9F #BC40C9 #CD70D6 #DD9FE4

Accessibility & contrast

On white

4.45
#BC40C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BC40C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C9#FFFFFF#000000##000000
##BC40C91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECD
Deuteranopia (green-blind)
#577CC6
Tritanopia (blue-blind)
#BF5780
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc40c9;
/* rgb */ color: rgb(188, 64, 201);
/* oklch */ color: oklch(59.9% 0.222 323.8);
Tailwind
colors: {
  custom: {
    50: '#d47fda',
    500: '#bc40c9',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c9;
$custom-light: #d47fda;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c9",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 294.307,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.22231,
    "h": 323.8
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#BC40C9
secondary
#9AD094
accent
#DF4957
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC40C9

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

Preview Lab → · Contrast checker → · Palette generator →

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