#BB48B5#BB48B5

#BB48B5 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.195 H 329.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB48B5
RGBrgb(187, 72, 181)
HSLhsl(303, 46%, 51%)
HSVhsv(303, 61%, 73%)
CMYKcmyk(0%, 61.5%, 3.2%, 26.7%)
CIE-LABlab(50.14, 59.64, -35.65)
CIE-LCHlch(50.14, 69.48, 329.13°)
OKLaboklab(59.54% 0.1685 -0.098)
OKLCHoklch(59.54% 0.195 329.8)
XYZxyz(31.1511, 18.5379, 45.6445)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48B5 #48BB4E
analogous
#8748BB #BB48B5 #BB487B
triadic
#BB48B5 #B5BB48 #48B5BB
tetradic
#BB48B5 #BB8748 #48BB4E #487BBB
square
#BB48B5 #BB8748 #48BB4E #487BBB
split-complementary
#BB48B5 #7BBB48 #48BB87
monochromatic
#642560 #90368B #BB48B5 #CC75C7 #DCA1D9

Accessibility & contrast

On white

4.46
#BB48B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BB48B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48B5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48B5#FFFFFF#000000##000000
##BB48B51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#C15478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb48b5;
/* rgb */ color: rgb(187, 72, 181);
/* oklch */ color: oklch(59.5% 0.195 329.8);
Tailwind
colors: {
  custom: {
    50: '#d282cb',
    500: '#bb48b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb48b5;
$custom-light: #d282cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48b5",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 303.13,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.19489,
    "h": 329.8
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#BB48B5
secondary
#96C999
accent
#D55952
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB48B5

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

Preview Lab → · Contrast checker → · Palette generator →

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