#BB48CB#BB48CB

#BB48CB is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.214 H 322.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB48CB
RGBrgb(187, 72, 203)
HSLhsl(293, 56%, 54%)
HSVhsv(293, 65%, 80%)
CMYKcmyk(7.9%, 64.5%, 0%, 20.4%)
CIE-LABlab(51.28, 63.49, -46.57)
CIE-LCHlch(51.28, 78.74, 323.74°)
OKLaboklab(60.73% 0.1696 -0.1297)
OKLCHoklch(60.73% 0.214 322.6)
XYZxyz(33.5893, 19.5131, 58.4855)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48CB #58CB48
analogous
#7A48CB #BB48CB #CB489A
triadic
#BB48CB #CBBB48 #48CBBB
tetradic
#BB48CB #CB7A48 #58CB48 #489ACB
square
#BB48CB #CB7A48 #58CB48 #489ACB
split-complementary
#BB48CB #9ACB48 #48CB7A
monochromatic
#6C2277 #982FA6 #BB48CB #CD78D9 #DEA7E6

Accessibility & contrast

On white

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

On black

4.90
#BB48CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48CB#FFFFFF#000000##000000
##BB48CB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2872CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#BE5D83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb48cb;
/* rgb */ color: rgb(187, 72, 203);
/* oklch */ color: oklch(60.7% 0.214 322.6);
Tailwind
colors: {
  custom: {
    50: '#d383db',
    500: '#bb48cb',
    950: '#000000',
  },
}
SCSS
$custom: #bb48cb;
$custom-light: #d383db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48cb",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 292.672,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.21351,
    "h": 322.6
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#BB48CB
secondary
#A2D39B
accent
#DF495B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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