#BB5BAC#BB5BAC

#BB5BAC is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.158 H 333.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB5BAC
RGBrgb(187, 91, 172)
HSLhsl(309, 41%, 55%)
HSVhsv(309, 51%, 73%)
CMYKcmyk(0%, 51.3%, 8%, 26.7%)
CIE-LABlab(52.98, 49.35, -25.97)
CIE-LCHlch(52.98, 55.77, 332.24°)
OKLaboklab(61.49% 0.1419 -0.0705)
OKLCHoklch(61.49% 0.158 333.6)
XYZxyz(31.6810, 21.0276, 41.4118)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BAC #5BBB6A
analogous
#9A5BBB #BB5BAC #BB5B7C
triadic
#BB5BAC #ACBB5B #5BACBB
tetradic
#BB5BAC #BB9A5B #5BBB6A #5B7CBB
square
#BB5BAC #BB9A5B #5BBB6A #5B7CBB
split-complementary
#BB5BAC #7CBB5B #5BBB9A
monochromatic
#6E2E64 #99408B #BB5BAC #CD86C2 #DFB2D8

Accessibility & contrast

On white

4.03
#BB5BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BB5BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BAC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BAC#FFFFFF#000000##000000
##BB5BAC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AF
Deuteranopia (green-blind)
#7584A9
Tritanopia (blue-blind)
#C2617C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5bac;
/* rgb */ color: rgb(187, 91, 172);
/* oklch */ color: oklch(61.5% 0.158 333.6);
Tailwind
colors: {
  custom: {
    50: '#d28dc5',
    500: '#bb5bac',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bac;
$custom-light: #d28dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bac",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 309.375,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.15843,
    "h": 333.6
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#BB5BAC
secondary
#A5CDAB
accent
#D16A57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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