#BB28A3#BB28A3

#BB28A3 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.219 H 335.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB28A3
RGBrgb(187, 40, 163)
HSLhsl(310, 65%, 45%)
HSVhsv(310, 79%, 73%)
CMYKcmyk(0%, 78.6%, 12.8%, 26.7%)
CIE-LABlab(45.26, 68.09, -32.70)
CIE-LCHlch(45.26, 75.54, 334.35°)
OKLaboklab(55.72% 0.1998 -0.0893)
OKLCHoklch(55.72% 0.219 335.9)
XYZxyz(27.8636, 14.7293, 36.0188)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB28A3 #28BB40
analogous
#8A28BB #BB28A3 #BB285A
triadic
#BB28A3 #A3BB28 #28A3BB
tetradic
#BB28A3 #BB8A28 #28BB40 #285ABB
square
#BB28A3 #BB8A28 #28BB40 #285ABB
split-complementary
#BB28A3 #5ABB28 #28BB8A
monochromatic
#56124B #891D77 #BB28A3 #D848C0 #E37BD2

Accessibility & contrast

On white

5.32
#BB28A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BB28A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB28A3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB28A3#FFFFFF#000000##FFFFFF
##BB28A31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#C53464
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb28a3;
/* rgb */ color: rgb(187, 40, 163);
/* oklch */ color: oklch(55.7% 0.219 335.9);
Tailwind
colors: {
  custom: {
    50: '#d473be',
    500: '#bb28a3',
    950: '#000000',
  },
}
SCSS
$custom: #bb28a3;
$custom-light: #d473be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb28a3",
  "rgb": {
    "r": 187,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 309.796,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.21886,
    "h": 335.9
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#BB28A3
secondary
#74CB82
accent
#E85B40
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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