#BB48C7#BB48C7

#BB48C7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.210 H 323.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BB48C7
RGBrgb(187, 72, 199)
HSLhsl(294, 53%, 53%)
HSVhsv(294, 64%, 78%)
CMYKcmyk(6%, 63.8%, 0%, 22%)
CIE-LABlab(51.07, 62.77, -44.62)
CIE-LCHlch(51.07, 77.01, 324.59°)
OKLaboklab(60.51% 0.1695 -0.124)
OKLCHoklch(60.51% 0.21 323.8)
XYZxyz(33.1188, 19.3249, 56.0074)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48C7 #54C748
analogous
#7B48C7 #BB48C7 #C74893
triadic
#BB48C7 #C7BB48 #48C7BB
tetradic
#BB48C7 #C77B48 #54C748 #4893C7
square
#BB48C7 #C77B48 #54C748 #4893C7
split-complementary
#BB48C7 #93C748 #48C77B
monochromatic
#6A2372 #9631A1 #BB48C7 #CC77D5 #DEA6E4

Accessibility & contrast

On white

4.32
#BB48C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BB48C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48C7#FFFFFF#000000##000000
##BB48C71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#BE5B81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb48c7;
/* rgb */ color: rgb(187, 72, 199);
/* oklch */ color: oklch(60.5% 0.210 323.8);
Tailwind
colors: {
  custom: {
    50: '#d383d8',
    500: '#bb48c7',
    950: '#000000',
  },
}
SCSS
$custom: #bb48c7;
$custom-light: #d383d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48c7",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 294.331,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.21004,
    "h": 323.8
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#BB48C7
secondary
#9FD19A
accent
#DD4B59
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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