#BC40D5#BC40D5

#BC40D5 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.232 H 320.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BC40D5
RGBrgb(188, 64, 213)
HSLhsl(290, 64%, 54%)
HSVhsv(290, 70%, 84%)
CMYKcmyk(11.7%, 70%, 0%, 16.5%)
CIE-LABlab(50.88, 68.68, -52.93)
CIE-LCHlch(50.88, 86.71, 322.38°)
OKLaboklab(60.66% 0.179 -0.1482)
OKLCHoklch(60.66% 0.232 320.4)
XYZxyz(34.5812, 19.1640, 64.8154)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40D5 #59D540
analogous
#7240D5 #BC40D5 #D540A4
triadic
#BC40D5 #D5BC40 #40D5BC
tetradic
#BC40D5 #D57240 #59D540 #40A4D5
square
#BC40D5 #D57240 #59D540 #40A4D5
split-complementary
#BC40D5 #A4D540 #40D572
monochromatic
#6E1C7F #9A27B1 #BC40D5 #CE72E0 #DFA4EB

Accessibility & contrast

On white

4.35
#BC40D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BC40D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40D5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40D5#FFFFFF#000000##000000
##BC40D51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4E7ED1
Tritanopia (blue-blind)
#BD5C86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bc40d5;
/* rgb */ color: rgb(188, 64, 213);
/* oklch */ color: oklch(60.7% 0.232 320.4);
Tailwind
colors: {
  custom: {
    50: '#d47fe3',
    500: '#bc40d5',
    950: '#000000',
  },
}
SCSS
$custom: #bc40d5;
$custom-light: #d47fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40d5",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 289.933,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.23238,
    "h": 320.4
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#BC40D5
secondary
#A3D899
accent
#E7415D
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC40D5

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

Preview Lab → · Contrast checker → · Palette generator →

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