#BB42AC#BB42AC

#BB42AC is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.4% C 0.196 H 333.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB42AC
RGBrgb(187, 66, 172)
HSLhsl(307, 48%, 50%)
HSVhsv(307, 65%, 73%)
CMYKcmyk(0%, 64.7%, 8%, 26.7%)
CIE-LABlab(48.81, 60.65, -32.46)
CIE-LCHlch(48.81, 68.79, 331.84°)
OKLaboklab(58.43% 0.1747 -0.0888)
OKLCHoklch(58.43% 0.196 333.1)
XYZxyz(29.8882, 17.4421, 40.8142)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42AC #42BB51
analogous
#8E42BB #BB42AC #BB4270
triadic
#BB42AC #ACBB42 #42ACBB
tetradic
#BB42AC #BB8E42 #42BB51 #4270BB
square
#BB42AC #BB8E42 #42BB51 #4270BB
split-complementary
#BB42AC #70BB42 #42BB8E
monochromatic
#612259 #8E3282 #BB42AC #CC6EC0 #DC9CD4

Accessibility & contrast

On white

4.68
#BB42AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BB42AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42AC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42AC#FFFFFF#000000##FFFFFF
##BB42AC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#C34C71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb42ac;
/* rgb */ color: rgb(187, 66, 172);
/* oklch */ color: oklch(58.4% 0.196 333.1);
Tailwind
colors: {
  custom: {
    50: '#d37fc5',
    500: '#bb42ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ac;
$custom-light: #d37fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ac",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 307.438,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.19596,
    "h": 333.1
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#BB42AC
secondary
#91C898
accent
#D76150
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB42AC

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

Preview Lab → · Contrast checker → · Palette generator →

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