#BC40DA#BC40DA

#BC40DA is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.237 H 319.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BC40DA
RGBrgb(188, 64, 218)
HSLhsl(288, 68%, 55%)
HSVhsv(288, 71%, 85%)
CMYKcmyk(13.8%, 70.6%, 0%, 14.5%)
CIE-LABlab(51.18, 69.59, -55.31)
CIE-LCHlch(51.18, 88.89, 321.53°)
OKLaboklab(60.97% 0.1787 -0.1551)
OKLCHoklch(60.97% 0.237 319)
XYZxyz(35.2257, 19.4218, 68.2094)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40DA #5EDA40
analogous
#6F40DA #BC40DA #DA40AB
triadic
#BC40DA #DABC40 #40DABC
tetradic
#BC40DA #DA6F40 #5EDA40 #40ABDA
square
#BC40DA #DA6F40 #5EDA40 #40ABDA
split-complementary
#BC40DA #ABDA40 #40DA6F
monochromatic
#711A86 #9C24B9 #BC40DA #CE73E4 #E0A7EE

Accessibility & contrast

On white

4.30
#BC40DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BC40DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40DA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40DA#FFFFFF#000000##000000
##BC40DA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#BC5E89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bc40da;
/* rgb */ color: rgb(188, 64, 218);
/* oklch */ color: oklch(61.0% 0.237 319.0);
Tailwind
colors: {
  custom: {
    50: '#d480e6',
    500: '#bc40da',
    950: '#000000',
  },
}
SCSS
$custom: #bc40da;
$custom-light: #d480e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40da",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 288.312,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.23663,
    "h": 319
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#BC40DA
secondary
#A7DB9B
accent
#EA3D5F
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC40DA

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

Preview Lab → · Contrast checker → · Palette generator →

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