#BC40D9#BC40D9

#BC40D9 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.236 H 319.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BC40D9
RGBrgb(188, 64, 217)
HSLhsl(289, 67%, 55%)
HSVhsv(289, 71%, 85%)
CMYKcmyk(13.4%, 70.5%, 0%, 14.9%)
CIE-LABlab(51.12, 69.41, -54.83)
CIE-LCHlch(51.12, 88.46, 321.69°)
OKLaboklab(60.9% 0.1788 -0.1537)
OKLCHoklch(60.9% 0.236 319.3)
XYZxyz(35.0952, 19.3696, 67.5223)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40D9 #5DD940
analogous
#6F40D9 #BC40D9 #D940AA
triadic
#BC40D9 #D9BC40 #40D9BC
tetradic
#BC40D9 #D96F40 #5DD940 #40AAD9
square
#BC40D9 #D96F40 #5DD940 #40AAD9
split-complementary
#BC40D9 #AAD940 #40D96F
monochromatic
#701A84 #9B24B7 #BC40D9 #CE73E3 #E0A6ED

Accessibility & contrast

On white

4.31
#BC40D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BC40D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40D9#FFFFFF#000000##000000
##BC40D91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc40d9;
/* rgb */ color: rgb(188, 64, 217);
/* oklch */ color: oklch(60.9% 0.236 319.3);
Tailwind
colors: {
  custom: {
    50: '#d480e5',
    500: '#bc40d9',
    950: '#000000',
  },
}
SCSS
$custom: #bc40d9;
$custom-light: #d480e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40d9",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 288.627,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.23578,
    "h": 319.3
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#BC40D9
secondary
#A6DA9A
accent
#EA3E5F
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC40D9

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

Preview Lab → · Contrast checker → · Palette generator →

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