#BB48D9#BB48D9

#BB48D9 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.226 H 318.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB48D9
RGBrgb(187, 72, 217)
HSLhsl(288, 66%, 57%)
HSVhsv(288, 67%, 85%)
CMYKcmyk(13.8%, 66.8%, 0%, 14.9%)
CIE-LABlab(52.07, 66.09, -53.31)
CIE-LCHlch(52.07, 84.91, 321.11°)
OKLaboklab(61.56% 0.1694 -0.1493)
OKLCHoklch(61.56% 0.226 318.6)
XYZxyz(35.3336, 20.2109, 67.6721)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48D9 #66D948
analogous
#7348D9 #BB48D9 #D948AF
triadic
#BB48D9 #D9BB48 #48D9BB
tetradic
#BB48D9 #D97348 #66D948 #48AFD9
square
#BB48D9 #D97348 #66D948 #48AFD9
split-complementary
#BB48D9 #AFD948 #48D973
monochromatic
#731D8A #9E27BD #BB48D9 #CE7BE4 #E1ADEE

Accessibility & contrast

On white

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

On black

5.04
#BB48D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48D9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48D9#FFFFFF#000000##000000
##BB48D91.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0675DD
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#BB638B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb48d9;
/* rgb */ color: rgb(187, 72, 217);
/* oklch */ color: oklch(61.6% 0.226 318.6);
Tailwind
colors: {
  custom: {
    50: '#d383e5',
    500: '#bb48d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb48d9;
$custom-light: #d383e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48d9",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 287.586,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.22585,
    "h": 318.6
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#BB48D9
secondary
#ADDCA1
accent
#E93F62
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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