#BB48BA#BB48BA

#BB48BA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 328.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB48BA
RGBrgb(187, 72, 186)
HSLhsl(301, 46%, 51%)
HSVhsv(301, 61%, 73%)
CMYKcmyk(0%, 61.5%, 0.5%, 26.7%)
CIE-LABlab(50.39, 60.49, -38.17)
CIE-LCHlch(50.39, 71.52, 327.75°)
OKLaboklab(59.8% 0.1689 -0.1053)
OKLCHoklch(59.8% 0.199 328.1)
XYZxyz(31.6734, 18.7468, 48.3951)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48BA #48BB49
analogous
#8248BB #BB48BA #BB4880
triadic
#BB48BA #BABB48 #48BABB
tetradic
#BB48BA #BB8248 #48BB49 #4880BB
square
#BB48BA #BB8248 #48BB49 #4880BB
split-complementary
#BB48BA #80BB48 #48BB82
monochromatic
#642563 #90368F #BB48BA #CC75CB #DCA1DC

Accessibility & contrast

On white

4.42
#BB48BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB48BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48BA#FFFFFF#000000##000000
##BB48BA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#647DB7
Tritanopia (blue-blind)
#C1567B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb48ba;
/* rgb */ color: rgb(187, 72, 186);
/* oklch */ color: oklch(59.8% 0.199 328.1);
Tailwind
colors: {
  custom: {
    50: '#d283cf',
    500: '#bb48ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb48ba;
$custom-light: #d283cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48ba",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 300.522,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.19901,
    "h": 328.1
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#BB48BA
secondary
#96C996
accent
#D55352
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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