#BC42AB#BC42AB

#BC42AB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.196 H 333.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BC42AB
RGBrgb(188, 66, 171)
HSLhsl(308, 48%, 50%)
HSVhsv(308, 65%, 74%)
CMYKcmyk(0%, 64.9%, 9%, 26.3%)
CIE-LABlab(48.92, 60.74, -31.69)
CIE-LCHlch(48.92, 68.51, 332.45°)
OKLaboklab(58.53% 0.1756 -0.0866)
OKLCHoklch(58.53% 0.196 333.8)
XYZxyz(30.0381, 17.5305, 40.3218)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42AB #42BC53
analogous
#9042BC #BC42AB #BC426E
triadic
#BC42AB #ABBC42 #42ABBC
tetradic
#BC42AB #BC9042 #42BC53 #426EBC
square
#BC42AB #BC9042 #42BC53 #426EBC
split-complementary
#BC42AB #6EBC42 #42BC90
monochromatic
#612259 #8F3282 #BC42AB #CC6FBF #DC9CD3

Accessibility & contrast

On white

4.66
#BC42AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BC42AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC42AB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42AB#FFFFFF#000000##FFFFFF
##BC42AB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#C44C71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc42ab;
/* rgb */ color: rgb(188, 66, 171);
/* oklch */ color: oklch(58.5% 0.196 333.8);
Tailwind
colors: {
  custom: {
    50: '#d37fc4',
    500: '#bc42ab',
    950: '#000000',
  },
}
SCSS
$custom: #bc42ab;
$custom-light: #d37fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42ab",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 308.361,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.19581,
    "h": 333.8
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#BC42AB
secondary
#91C999
accent
#D86350
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC42AB

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

Preview Lab → · Contrast checker → · Palette generator →

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