#BB48B7#BB48B7

#BB48B7 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.6% C 0.197 H 329.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BB48B7
RGBrgb(187, 72, 183)
HSLhsl(302, 46%, 51%)
HSVhsv(302, 61%, 73%)
CMYKcmyk(0%, 61.5%, 2.1%, 26.7%)
CIE-LABlab(50.24, 59.97, -36.66)
CIE-LCHlch(50.24, 70.29, 328.57°)
OKLaboklab(59.64% 0.1686 -0.1009)
OKLCHoklch(59.64% 0.197 329.1)
XYZxyz(31.3578, 18.6206, 46.7331)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48B7 #48BB4C
analogous
#8548BB #BB48B7 #BB487D
triadic
#BB48B7 #B7BB48 #48B7BB
tetradic
#BB48B7 #BB8548 #48BB4C #487DBB
square
#BB48B7 #BB8548 #48BB4C #487DBB
split-complementary
#BB48B7 #7DBB48 #48BB85
monochromatic
#642561 #90368D #BB48B7 #CC75C9 #DCA1DA

Accessibility & contrast

On white

4.45
#BB48B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BB48B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48B7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48B7#FFFFFF#000000##000000
##BB48B71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#C15579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb48b7;
/* rgb */ color: rgb(187, 72, 183);
/* oklch */ color: oklch(59.6% 0.197 329.1);
Tailwind
colors: {
  custom: {
    50: '#d282cd',
    500: '#bb48b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb48b7;
$custom-light: #d282cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48b7",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 302.087,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.19653,
    "h": 329.1
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#BB48B7
secondary
#96C998
accent
#D55752
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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