#BC40B5#BC40B5

#BC40B5 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.206 H 330.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BC40B5
RGBrgb(188, 64, 181)
HSLhsl(303, 49%, 49%)
HSVhsv(303, 66%, 74%)
CMYKcmyk(0%, 66%, 3.7%, 26.3%)
CIE-LABlab(49.13, 63.13, -37.23)
CIE-LCHlch(49.13, 73.30, 329.47°)
OKLaboklab(58.83% 0.1788 -0.1025)
OKLCHoklch(58.83% 0.206 330.2)
XYZxyz(30.9127, 17.6966, 45.4947)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40B5 #40BC47
analogous
#8540BC #BC40B5 #BC4077
triadic
#BC40B5 #B5BC40 #40B5BC
tetradic
#BC40B5 #BC8540 #40BC47 #4077BC
square
#BC40B5 #BC8540 #40BC47 #4077BC
split-complementary
#BC40B5 #77BC40 #40BC85
monochromatic
#61215D #8E3089 #BC40B5 #CD6CC8 #DD9AD9

Accessibility & contrast

On white

4.63
#BC40B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BC40B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40B5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40B5#FFFFFF#000000##FFFFFF
##BC40B51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#C34E75
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc40b5;
/* rgb */ color: rgb(188, 64, 181);
/* oklch */ color: oklch(58.8% 0.206 330.2);
Tailwind
colors: {
  custom: {
    50: '#d47ecb',
    500: '#bc40b5',
    950: '#000000',
  },
}
SCSS
$custom: #bc40b5;
$custom-light: #d47ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40b5",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 303.387,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.20613,
    "h": 330.2
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#BC40B5
secondary
#8FC993
accent
#D9574F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40B5

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

Preview Lab → · Contrast checker → · Palette generator →

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