#BB42B2#BB42B2

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

Color values

HEX#BB42B2
RGBrgb(187, 66, 178)
HSLhsl(304, 48%, 50%)
HSVhsv(304, 65%, 73%)
CMYKcmyk(0%, 64.7%, 4.8%, 26.7%)
CIE-LABlab(49.10, 61.61, -35.52)
CIE-LCHlch(49.10, 71.12, 330.03°)
OKLaboklab(58.74% 0.1753 -0.0976)
OKLCHoklch(58.74% 0.201 330.9)
XYZxyz(30.4775, 17.6778, 43.9178)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42B2 #42BB4B
analogous
#8842BB #BB42B2 #BB4276
triadic
#BB42B2 #B2BB42 #42B2BB
tetradic
#BB42B2 #BB8842 #42BB4B #4276BB
square
#BB42B2 #BB8842 #42BB4B #4276BB
split-complementary
#BB42B2 #76BB42 #42BB88
monochromatic
#61225C #8E3287 #BB42B2 #CC6EC5 #DC9CD7

Accessibility & contrast

On white

4.63
#BB42B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB42B2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42B2#FFFFFF#000000##FFFFFF
##BB42B21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#C24F74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb42b2;
/* rgb */ color: rgb(187, 66, 178);
/* oklch */ color: oklch(58.7% 0.201 330.9);
Tailwind
colors: {
  custom: {
    50: '#d37fc9',
    500: '#bb42b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb42b2;
$custom-light: #d37fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42b2",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 304.463,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.20062,
    "h": 330.9
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#BB42B2
secondary
#91C895
accent
#D75A50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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