#BB48B2#BB48B2

#BB48B2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.4% C 0.192 H 330.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB48B2
RGBrgb(187, 72, 178)
HSLhsl(305, 46%, 51%)
HSVhsv(305, 61%, 73%)
CMYKcmyk(0%, 61.5%, 4.8%, 26.7%)
CIE-LABlab(50.00, 59.14, -34.12)
CIE-LCHlch(50.00, 68.27, 330.01°)
OKLaboklab(59.39% 0.1681 -0.0936)
OKLCHoklch(59.39% 0.192 330.9)
XYZxyz(30.8466, 18.4161, 44.0408)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48B2 #48BB51
analogous
#8A48BB #BB48B2 #BB4878
triadic
#BB48B2 #B2BB48 #48B2BB
tetradic
#BB48B2 #BB8A48 #48BB51 #4878BB
square
#BB48B2 #BB8A48 #48BB51 #4878BB
split-complementary
#BB48B2 #78BB48 #48BB8A
monochromatic
#64255F #903689 #BB48B2 #CC75C5 #DCA1D8

Accessibility & contrast

On white

4.48
#BB48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BB48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48B2#FFFFFF#000000##000000
##BB48B21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#C25376
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb48b2;
/* rgb */ color: rgb(187, 72, 178);
/* oklch */ color: oklch(59.4% 0.192 330.9);
Tailwind
colors: {
  custom: {
    50: '#d282c9',
    500: '#bb48b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb48b2;
$custom-light: #d282c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48b2",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 304.696,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.19245,
    "h": 330.9
  },
  "luminance": 0.18414
}

Semantic roles & 50–950 ramp

primary
#BB48B2
secondary
#96C99A
accent
#D55D52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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