#BB5AB9#BB5AB9

#BB5AB9 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 62.0% C 0.171 H 328.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB5AB9
RGBrgb(187, 90, 185)
HSLhsl(301, 42%, 54%)
HSVhsv(301, 52%, 73%)
CMYKcmyk(0%, 51.9%, 1.1%, 26.7%)
CIE-LABlab(53.36, 52.10, -32.92)
CIE-LCHlch(53.36, 61.63, 327.71°)
OKLaboklab(61.96% 0.1456 -0.0903)
OKLCHoklch(61.96% 0.171 328.2)
XYZxyz(32.9062, 21.3818, 48.2834)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AB9 #5ABB5C
analogous
#8D5ABB #BB5AB9 #BB5A89
triadic
#BB5AB9 #B9BB5A #5AB9BB
tetradic
#BB5AB9 #BB8D5A #5ABB5C #5A89BB
square
#BB5AB9 #BB8D5A #5ABB5C #5A89BB
split-complementary
#BB5AB9 #89BB5A #5ABB8D
monochromatic
#6D2D6C #993F97 #BB5AB9 #CD85CB #DFB1DE

Accessibility & contrast

On white

3.98
#BB5AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BB5AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AB9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AB9#FFFFFF#000000##000000
##BB5AB91.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BC
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#C06481
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ab9;
/* rgb */ color: rgb(187, 90, 185);
/* oklch */ color: oklch(62.0% 0.171 328.2);
Tailwind
colors: {
  custom: {
    50: '#d28dce',
    500: '#bb5ab9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ab9;
$custom-light: #d28dce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ab9",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 301.237,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.1713,
    "h": 328.2
  },
  "luminance": 0.2138
}

Semantic roles & 50–950 ramp

primary
#BB5AB9
secondary
#A4CDA5
accent
#D15956
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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