#BB48CC#BB48CC

#BB48CC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.214 H 322.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB48CC
RGBrgb(187, 72, 204)
HSLhsl(292, 56%, 54%)
HSVhsv(292, 65%, 80%)
CMYKcmyk(8.3%, 64.7%, 0%, 20%)
CIE-LABlab(51.34, 63.67, -47.06)
CIE-LCHlch(51.34, 79.18, 323.53°)
OKLaboklab(60.79% 0.1696 -0.1311)
OKLCHoklch(60.79% 0.214 322.3)
XYZxyz(33.7088, 19.5610, 59.1151)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48CC #59CC48
analogous
#7948CC #BB48CC #CC489B
triadic
#BB48CC #CCBB48 #48CCBB
tetradic
#BB48CC #CC7948 #59CC48 #489BCC
square
#BB48CC #CC7948 #59CC48 #489BCC
split-complementary
#BB48CC #9BCC48 #48CC79
monochromatic
#6D2178 #982FA8 #BB48CC #CD78D9 #DFA8E7

Accessibility & contrast

On white

4.28
#BB48CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BB48CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48CC#FFFFFF#000000##000000
##BB48CC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#BD5D84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb48cc;
/* rgb */ color: rgb(187, 72, 204);
/* oklch */ color: oklch(60.8% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#d383dc',
    500: '#bb48cc',
    950: '#000000',
  },
}
SCSS
$custom: #bb48cc;
$custom-light: #d383dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48cc",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 292.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.21438,
    "h": 322.3
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#BB48CC
secondary
#A3D49C
accent
#E0485C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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