#BB42AD#BB42AD

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

Color values

HEX#BB42AD
RGBrgb(187, 66, 173)
HSLhsl(307, 48%, 50%)
HSVhsv(307, 65%, 73%)
CMYKcmyk(0%, 64.7%, 7.5%, 26.7%)
CIE-LABlab(48.86, 60.80, -32.97)
CIE-LCHlch(48.86, 69.17, 331.53°)
OKLaboklab(58.48% 0.1748 -0.0903)
OKLCHoklch(58.48% 0.197 332.7)
XYZxyz(29.9846, 17.4807, 41.3219)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42AD #42BB50
analogous
#8D42BB #BB42AD #BB4271
triadic
#BB42AD #ADBB42 #42ADBB
tetradic
#BB42AD #BB8D42 #42BB50 #4271BB
square
#BB42AD #BB8D42 #42BB50 #4271BB
split-complementary
#BB42AD #71BB42 #42BB8D
monochromatic
#612259 #8E3283 #BB42AD #CC6EC1 #DC9CD4

Accessibility & contrast

On white

4.67
#BB42AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BB42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42AD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42AD#FFFFFF#000000##FFFFFF
##BB42AD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#C34D72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb42ad;
/* rgb */ color: rgb(187, 66, 173);
/* oklch */ color: oklch(58.5% 0.197 332.7);
Tailwind
colors: {
  custom: {
    50: '#d37fc6',
    500: '#bb42ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ad;
$custom-light: #d37fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ad",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 306.942,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.19673,
    "h": 332.7
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#BB42AD
secondary
#91C897
accent
#D76050
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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