#BB42BC#BB42BC

#BB42BC is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.209 H 327.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB42BC
RGBrgb(187, 66, 188)
HSLhsl(300, 48%, 50%)
HSVhsv(300, 65%, 74%)
CMYKcmyk(0.5%, 64.9%, 0%, 26.3%)
CIE-LABlab(49.61, 63.28, -40.56)
CIE-LCHlch(49.61, 75.16, 327.34°)
OKLaboklab(59.27% 0.1759 -0.1122)
OKLCHoklch(59.27% 0.209 327.5)
XYZxyz(31.5184, 18.0942, 49.3996)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42BC #43BC42
analogous
#7E42BC #BB42BC #BC4280
triadic
#BB42BC #BCBB42 #42BCBB
tetradic
#BB42BC #BC7E42 #43BC42 #4280BC
square
#BB42BC #BC7E42 #43BC42 #4280BC
split-complementary
#BB42BC #80BC42 #42BC7E
monochromatic
#612261 #8E328F #BB42BC #CC6FCC #DC9CDC

Accessibility & contrast

On white

4.55
#BB42BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BB42BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42BC#FFFFFF#000000##000000
##BB42BC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#C05379
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb42bc;
/* rgb */ color: rgb(187, 66, 188);
/* oklch */ color: oklch(59.3% 0.209 327.5);
Tailwind
colors: {
  custom: {
    50: '#d380d0',
    500: '#bb42bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb42bc;
$custom-light: #d380d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42bc",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 299.508,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.20864,
    "h": 327.5
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#BB42BC
secondary
#92C991
accent
#D85051
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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