#BB54AB#BB54AB

#BB54AB is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.169 H 333.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BB54AB
RGBrgb(187, 84, 171)
HSLhsl(309, 43%, 53%)
HSVhsv(309, 55%, 73%)
CMYKcmyk(0%, 55.1%, 8.6%, 26.7%)
CIE-LABlab(51.66, 52.57, -27.43)
CIE-LCHlch(51.66, 59.29, 332.45°)
OKLaboklab(60.5% 0.1515 -0.0746)
OKLCHoklch(60.5% 0.169 333.8)
XYZxyz(31.0146, 19.8479, 40.7177)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54AB #54BB64
analogous
#9754BB #BB54AB #BB5478
triadic
#BB54AB #ABBB54 #54ABBB
tetradic
#BB54AB #BB9754 #54BB64 #5478BB
square
#BB54AB #BB9754 #54BB64 #5478BB
split-complementary
#BB54AB #78BB54 #54BB97
monochromatic
#6A2A60 #963C88 #BB54AB #CC80C1 #DEACD6

Accessibility & contrast

On white

4.23
#BB54AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BB54AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54AB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54AB#FFFFFF#000000##000000
##BB54AB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AE
Deuteranopia (green-blind)
#7181A8
Tritanopia (blue-blind)
#C35B78
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb54ab;
/* rgb */ color: rgb(187, 84, 171);
/* oklch */ color: oklch(60.5% 0.169 333.8);
Tailwind
colors: {
  custom: {
    50: '#d289c4',
    500: '#bb54ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb54ab;
$custom-light: #d289c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54ab",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 309.32,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.16887,
    "h": 333.8
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#BB54AB
secondary
#9FCCA6
accent
#D36855
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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