#BB42AE#BB42AE

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

Color values

HEX#BB42AE
RGBrgb(187, 66, 174)
HSLhsl(306, 48%, 50%)
HSVhsv(306, 65%, 73%)
CMYKcmyk(0%, 64.7%, 7%, 26.7%)
CIE-LABlab(48.91, 60.97, -33.49)
CIE-LCHlch(48.91, 69.56, 331.22°)
OKLaboklab(58.53% 0.1749 -0.0917)
OKLCHoklch(58.53% 0.198 332.3)
XYZxyz(30.0817, 17.5195, 41.8334)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42AE #42BB4F
analogous
#8B42BB #BB42AE #BB4272
triadic
#BB42AE #AEBB42 #42AEBB
tetradic
#BB42AE #BB8B42 #42BB4F #4272BB
square
#BB42AE #BB8B42 #42BB4F #4272BB
split-complementary
#BB42AE #72BB42 #42BB8B
monochromatic
#61225A #8E3284 #BB42AE #CC6EC2 #DC9CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB42AE#FFFFFF#000000##FFFFFF
##BB42AE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb42ae;
/* rgb */ color: rgb(187, 66, 174);
/* oklch */ color: oklch(58.5% 0.198 332.3);
Tailwind
colors: {
  custom: {
    50: '#d37fc6',
    500: '#bb42ae',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ae;
$custom-light: #d37fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ae",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 306.446,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58531,
    "c": 0.1975,
    "h": 332.3
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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