#BB42B9#BB42B9

#BB42B9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.206 H 328.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB42B9
RGBrgb(187, 66, 185)
HSLhsl(301, 48%, 50%)
HSVhsv(301, 65%, 73%)
CMYKcmyk(0%, 64.7%, 1.1%, 26.7%)
CIE-LABlab(49.46, 62.77, -39.06)
CIE-LCHlch(49.46, 73.93, 328.11°)
OKLaboklab(59.11% 0.1758 -0.1078)
OKLCHoklch(59.11% 0.206 328.5)
XYZxyz(31.1983, 17.9662, 47.7141)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42B9 #42BB44
analogous
#8142BB #BB42B9 #BB427C
triadic
#BB42B9 #B9BB42 #42B9BB
tetradic
#BB42B9 #BB8142 #42BB44 #427CBB
square
#BB42B9 #BB8142 #42BB44 #427CBB
split-complementary
#BB42B9 #7CBB42 #42BB81
monochromatic
#61225F #8E328C #BB42B9 #CC6ECA #DC9CDB

Accessibility & contrast

On white

4.57
#BB42B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BB42B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42B9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42B9#FFFFFF#000000##000000
##BB42B91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#336BBC
Deuteranopia (green-blind)
#617BB6
Tritanopia (blue-blind)
#C15278
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb42b9;
/* rgb */ color: rgb(187, 66, 185);
/* oklch */ color: oklch(59.1% 0.206 328.5);
Tailwind
colors: {
  custom: {
    50: '#d37fce',
    500: '#bb42b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb42b9;
$custom-light: #d37fce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42b9",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 300.992,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.2062,
    "h": 328.5
  },
  "luminance": 0.17964
}

Semantic roles & 50–950 ramp

primary
#BB42B9
secondary
#91C892
accent
#D75350
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB42B9

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

Preview Lab → · Contrast checker → · Palette generator →

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