#BC40D3#BC40D3

#BC40D3 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.231 H 320.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BC40D3
RGBrgb(188, 64, 211)
HSLhsl(291, 63%, 54%)
HSVhsv(291, 70%, 83%)
CMYKcmyk(10.9%, 69.7%, 0%, 17.3%)
CIE-LABlab(50.76, 68.31, -51.98)
CIE-LCHlch(50.76, 85.84, 322.73°)
OKLaboklab(60.54% 0.1791 -0.1454)
OKLCHoklch(60.54% 0.231 320.9)
XYZxyz(34.3289, 19.0631, 63.4867)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40D3 #57D340
analogous
#7340D3 #BC40D3 #D340A1
triadic
#BC40D3 #D3BC40 #40D3BC
tetradic
#BC40D3 #D37340 #57D340 #40A1D3
square
#BC40D3 #D37340 #57D340 #40A1D3
split-complementary
#BC40D3 #A1D340 #40D373
monochromatic
#6D1D7C #9928AE #BC40D3 #CD72DE #DFA3EA

Accessibility & contrast

On white

4.36
#BC40D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BC40D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40D3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40D3#FFFFFF#000000##000000
##BC40D31.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#507DD0
Tritanopia (blue-blind)
#BD5B85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bc40d3;
/* rgb */ color: rgb(188, 64, 211);
/* oklch */ color: oklch(60.5% 0.231 320.9);
Tailwind
colors: {
  custom: {
    50: '#d47fe1',
    500: '#bc40d3',
    950: '#000000',
  },
}
SCSS
$custom: #bc40d3;
$custom-light: #d47fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40d3",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 290.612,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.23069,
    "h": 320.9
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#BC40D3
secondary
#A2D798
accent
#E6425C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC40D3

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

Preview Lab → · Contrast checker → · Palette generator →

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