#BC40D2#BC40D2

#BC40D2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.230 H 321.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BC40D2
RGBrgb(188, 64, 210)
HSLhsl(291, 62%, 54%)
HSVhsv(291, 70%, 82%)
CMYKcmyk(10.5%, 69.5%, 0%, 17.6%)
CIE-LABlab(50.70, 68.13, -51.50)
CIE-LCHlch(50.70, 85.41, 322.91°)
OKLaboklab(60.48% 0.1792 -0.144)
OKLCHoklch(60.48% 0.23 321.2)
XYZxyz(34.2040, 19.0131, 62.8285)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40D2 #56D240
analogous
#7340D2 #BC40D2 #D2409F
triadic
#BC40D2 #D2BC40 #40D2BC
tetradic
#BC40D2 #D27340 #56D240 #409FD2
square
#BC40D2 #D27340 #56D240 #409FD2
split-complementary
#BC40D2 #9FD240 #40D273
monochromatic
#6D1D7B #9829AC #BC40D2 #CD72DE #DFA3E9

Accessibility & contrast

On white

4.37
#BC40D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BC40D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40D2#FFFFFF#000000##000000
##BC40D21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#517DCF
Tritanopia (blue-blind)
#BE5A85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bc40d2;
/* rgb */ color: rgb(188, 64, 210);
/* oklch */ color: oklch(60.5% 0.230 321.2);
Tailwind
colors: {
  custom: {
    50: '#d47fe0',
    500: '#bc40d2',
    950: '#000000',
  },
}
SCSS
$custom: #bc40d2;
$custom-light: #d47fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40d2",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 290.959,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.22985,
    "h": 321.2
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#BC40D2
secondary
#A1D698
accent
#E5435B
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC40D2

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

Preview Lab → · Contrast checker → · Palette generator →

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