#BB42B3#BB42B3

#BB42B3 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.201 H 330.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB42B3
RGBrgb(187, 66, 179)
HSLhsl(304, 48%, 50%)
HSVhsv(304, 65%, 73%)
CMYKcmyk(0%, 64.7%, 4.3%, 26.7%)
CIE-LABlab(49.15, 61.78, -36.03)
CIE-LCHlch(49.15, 71.52, 329.75°)
OKLaboklab(58.79% 0.1754 -0.0991)
OKLCHoklch(58.79% 0.201 330.5)
XYZxyz(30.5783, 17.7181, 44.4485)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42B3 #42BB4A
analogous
#8742BB #BB42B3 #BB4277
triadic
#BB42B3 #B3BB42 #42B3BB
tetradic
#BB42B3 #BB8742 #42BB4A #4277BB
square
#BB42B3 #BB8742 #42BB4A #4277BB
split-complementary
#BB42B3 #77BB42 #42BB87
monochromatic
#61225C #8E3288 #BB42B3 #CC6EC6 #DC9CD8

Accessibility & contrast

On white

4.62
#BB42B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BB42B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42B3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42B3#FFFFFF#000000##FFFFFF
##BB42B31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#C24F75
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb42b3;
/* rgb */ color: rgb(187, 66, 179);
/* oklch */ color: oklch(58.8% 0.201 330.5);
Tailwind
colors: {
  custom: {
    50: '#d37fca',
    500: '#bb42b3',
    950: '#000000',
  },
}
SCSS
$custom: #bb42b3;
$custom-light: #d37fca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42b3",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 303.967,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.20141,
    "h": 330.5
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#BB42B3
secondary
#91C894
accent
#D75950
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB42B3

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

Preview Lab → · Contrast checker → · Palette generator →

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