#BC45AB#BC45AB

#BC45AB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.192 H 333.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BC45AB
RGBrgb(188, 69, 171)
HSLhsl(309, 47%, 50%)
HSVhsv(309, 63%, 74%)
CMYKcmyk(0%, 63.3%, 9%, 26.3%)
CIE-LABlab(49.36, 59.52, -31.00)
CIE-LCHlch(49.36, 67.11, 332.49°)
OKLaboklab(58.85% 0.1721 -0.0846)
OKLCHoklch(58.85% 0.192 333.8)
XYZxyz(30.2180, 17.8902, 40.3818)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC45AB #45BC56
analogous
#9145BC #BC45AB #BC4570
triadic
#BC45AB #ABBC45 #45ABBC
tetradic
#BC45AB #BC9145 #45BC56 #4570BC
square
#BC45AB #BC9145 #45BC56 #4570BC
split-complementary
#BC45AB #70BC45 #45BC91
monochromatic
#63245A #903483 #BC45AB #CC72BF #DC9FD4

Accessibility & contrast

On white

4.59
#BC45AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BC45AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC45AB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC45AB#FFFFFF#000000##FFFFFF
##BC45AB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#C44E72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc45ab;
/* rgb */ color: rgb(188, 69, 171);
/* oklch */ color: oklch(58.8% 0.192 333.8);
Tailwind
colors: {
  custom: {
    50: '#d381c4',
    500: '#bc45ab',
    950: '#000000',
  },
}
SCSS
$custom: #bc45ab;
$custom-light: #d381c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc45ab",
  "rgb": {
    "r": 188,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 308.571,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.19174,
    "h": 333.8
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#BC45AB
secondary
#94C99B
accent
#D76451
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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