#BB42B8#BB42B8

#BB42B8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.205 H 328.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BB42B8
RGBrgb(187, 66, 184)
HSLhsl(301, 48%, 50%)
HSVhsv(301, 65%, 73%)
CMYKcmyk(0%, 64.7%, 1.6%, 26.7%)
CIE-LABlab(49.40, 62.60, -38.56)
CIE-LCHlch(49.40, 73.53, 328.37°)
OKLaboklab(59.05% 0.1757 -0.1064)
OKLCHoklch(59.05% 0.205 328.8)
XYZxyz(31.0931, 17.9241, 47.1601)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42B8 #42BB45
analogous
#8242BB #BB42B8 #BB427B
triadic
#BB42B8 #B8BB42 #42B8BB
tetradic
#BB42B8 #BB8242 #42BB45 #427BBB
square
#BB42B8 #BB8242 #42BB45 #427BBB
split-complementary
#BB42B8 #7BBB42 #42BB82
monochromatic
#61225F #8E328B #BB42B8 #CC6ECA #DC9CDA

Accessibility & contrast

On white

4.58
#BB42B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BB42B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42B8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42B8#FFFFFF#000000##000000
##BB42B81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#C15177
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb42b8;
/* rgb */ color: rgb(187, 66, 184);
/* oklch */ color: oklch(59.1% 0.205 328.8);
Tailwind
colors: {
  custom: {
    50: '#d37fce',
    500: '#bb42b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb42b8;
$custom-light: #d37fce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42b8",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 301.488,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.20539,
    "h": 328.8
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#BB42B8
secondary
#91C892
accent
#D75450
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB42B8

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

Preview Lab → · Contrast checker → · Palette generator →

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