#BB28BD#BB28BD

#BB28BD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.237 H 327.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB28BD
RGBrgb(187, 40, 189)
HSLhsl(299, 65%, 45%)
HSVhsv(299, 79%, 74%)
CMYKcmyk(1.1%, 78.8%, 0%, 25.9%)
CIE-LABlab(46.66, 72.01, -45.83)
CIE-LCHlch(46.66, 85.36, 327.52°)
OKLaboklab(57.17% 0.2001 -0.1273)
OKLCHoklch(57.17% 0.237 327.5)
XYZxyz(30.4372, 15.7588, 49.5729)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB28BD #2ABD28
analogous
#7128BD #BB28BD #BD2874
triadic
#BB28BD #BDBB28 #28BDBB
tetradic
#BB28BD #BD7128 #2ABD28 #2874BD
square
#BB28BD #BD7128 #2ABD28 #2874BD
split-complementary
#BB28BD #74BD28 #28BD71
monochromatic
#571358 #891D8A #BB28BD #D74AD9 #E27CE3

Accessibility & contrast

On white

5.06
#BB28BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB28BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB28BD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB28BD#FFFFFF#000000##FFFFFF
##BB28BD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#C14373
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb28bd;
/* rgb */ color: rgb(187, 40, 189);
/* oklch */ color: oklch(57.2% 0.237 327.5);
Tailwind
colors: {
  custom: {
    50: '#d475d1',
    500: '#bb28bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb28bd;
$custom-light: #d475d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb28bd",
  "rgb": {
    "r": 187,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 299.195,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.23714,
    "h": 327.5
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#BB28BD
secondary
#76CB75
accent
#E84042
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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