#BB48D1#BB48D1

#BB48D1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.219 H 320.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB48D1
RGBrgb(187, 72, 209)
HSLhsl(290, 60%, 55%)
HSVhsv(290, 66%, 82%)
CMYKcmyk(10.5%, 65.6%, 0%, 18%)
CIE-LABlab(51.62, 64.59, -49.48)
CIE-LCHlch(51.62, 81.37, 322.55°)
OKLaboklab(61.08% 0.1696 -0.1381)
OKLCHoklch(61.08% 0.219 320.8)
XYZxyz(34.3182, 19.8047, 62.3243)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48D1 #5ED148
analogous
#7748D1 #BB48D1 #D148A2
triadic
#BB48D1 #D1BB48 #48D1BB
tetradic
#BB48D1 #D17748 #5ED148 #48A2D1
square
#BB48D1 #D17748 #5ED148 #48A2D1
split-complementary
#BB48D1 #A2D148 #48D177
monochromatic
#70207F #9B2CB0 #BB48D1 #CD79DD #DFAAEA

Accessibility & contrast

On white

4.23
#BB48D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BB48D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48D1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48D1#FFFFFF#000000##000000
##BB48D11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D5
Deuteranopia (green-blind)
#567FCE
Tritanopia (blue-blind)
#BC5F87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb48d1;
/* rgb */ color: rgb(187, 72, 209);
/* oklch */ color: oklch(61.1% 0.219 320.8);
Tailwind
colors: {
  custom: {
    50: '#d383e0',
    500: '#bb48d1',
    950: '#000000',
  },
}
SCSS
$custom: #bb48d1;
$custom-light: #d383e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48d1",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 290.365,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.21876,
    "h": 320.8
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#BB48D1
secondary
#A7D79E
accent
#E3455E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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