#BB48D8#BB48D8

#BB48D8 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.225 H 318.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB48D8
RGBrgb(187, 72, 216)
HSLhsl(288, 65%, 56%)
HSVhsv(288, 67%, 85%)
CMYKcmyk(13.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(52.02, 65.90, -52.83)
CIE-LCHlch(52.02, 84.47, 321.28°)
OKLaboklab(61.5% 0.1695 -0.1479)
OKLCHoklch(61.5% 0.225 318.9)
XYZxyz(35.2039, 20.1590, 66.9892)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48D8 #65D848
analogous
#7348D8 #BB48D8 #D848AD
triadic
#BB48D8 #D8BB48 #48D8BB
tetradic
#BB48D8 #D87348 #65D848 #48ADD8
square
#BB48D8 #D87348 #65D848 #48ADD8
split-complementary
#BB48D8 #ADD848 #48D873
monochromatic
#731D89 #9D28BB #BB48D8 #CE7AE3 #E0ADEE

Accessibility & contrast

On white

4.17
#BB48D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BB48D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48D8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48D8#FFFFFF#000000##000000
##BB48D81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B74DC
Deuteranopia (green-blind)
#5180D5
Tritanopia (blue-blind)
#BB628A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb48d8;
/* rgb */ color: rgb(187, 72, 216);
/* oklch */ color: oklch(61.5% 0.225 318.9);
Tailwind
colors: {
  custom: {
    50: '#d383e5',
    500: '#bb48d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb48d8;
$custom-light: #d383e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48d8",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 287.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.615,
    "c": 0.22496,
    "h": 318.9
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#BB48D8
secondary
#ACDBA0
accent
#E84062
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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