#BB42BB#BB42BB

#BB42BB is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.208 H 327.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB42BB
RGBrgb(187, 66, 187)
HSLhsl(300, 48%, 50%)
HSVhsv(300, 65%, 73%)
CMYKcmyk(0%, 64.7%, 0%, 26.7%)
CIE-LABlab(49.56, 63.11, -40.06)
CIE-LCHlch(49.56, 74.75, 327.59°)
OKLaboklab(59.21% 0.1759 -0.1107)
OKLCHoklch(59.21% 0.208 327.8)
XYZxyz(31.4109, 18.0512, 48.8339)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42BB #42BB42
analogous
#7F42BB #BB42BB #BB427F
triadic
#BB42BB #BBBB42 #42BBBB
tetradic
#BB42BB #BB7F42 #42BB42 #427FBB
square
#BB42BB #BB7F42 #42BB42 #427FBB
split-complementary
#BB42BB #7FBB42 #42BB7F
monochromatic
#612261 #8E328E #BB42BB #CC6ECC #DC9CDC

Accessibility & contrast

On white

4.56
#BB42BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BB42BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42BB#FFFFFF#000000##000000
##BB42BB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#607BB8
Tritanopia (blue-blind)
#C15279
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb42bb;
/* rgb */ color: rgb(187, 66, 187);
/* oklch */ color: oklch(59.2% 0.208 327.8);
Tailwind
colors: {
  custom: {
    50: '#d37fd0',
    500: '#bb42bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb42bb;
$custom-light: #d37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42bb",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.20782,
    "h": 327.8
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#BB42BB
secondary
#91C891
accent
#D75050
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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