#BB48D7#BB48D7

#BB48D7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.224 H 319.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB48D7
RGBrgb(187, 72, 215)
HSLhsl(288, 64%, 56%)
HSVhsv(288, 67%, 84%)
CMYKcmyk(13%, 66.5%, 0%, 15.7%)
CIE-LABlab(51.96, 65.71, -52.36)
CIE-LCHlch(51.96, 84.02, 321.45°)
OKLaboklab(61.44% 0.1695 -0.1466)
OKLCHoklch(61.44% 0.224 319.2)
XYZxyz(35.0750, 20.1074, 66.3104)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48D7 #64D748
analogous
#7448D7 #BB48D7 #D748AC
triadic
#BB48D7 #D7BB48 #48D7BB
tetradic
#BB48D7 #D77448 #64D748 #48ACD7
square
#BB48D7 #D77448 #64D748 #48ACD7
split-complementary
#BB48D7 #ACD748 #48D774
monochromatic
#721E87 #9D29B9 #BB48D7 #CE7AE2 #E0ACED

Accessibility & contrast

On white

4.18
#BB48D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BB48D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48D7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48D7#FFFFFF#000000##000000
##BB48D71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F74DB
Deuteranopia (green-blind)
#5280D4
Tritanopia (blue-blind)
#BB628A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb48d7;
/* rgb */ color: rgb(187, 72, 215);
/* oklch */ color: oklch(61.4% 0.224 319.2);
Tailwind
colors: {
  custom: {
    50: '#d383e4',
    500: '#bb48d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb48d7;
$custom-light: #d383e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48d7",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 288.252,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.22407,
    "h": 319.2
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#BB48D7
secondary
#ABDBA0
accent
#E74161
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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