#BB5AB0#BB5AB0

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

Color values

HEX#BB5AB0
RGBrgb(187, 90, 176)
HSLhsl(307, 42%, 54%)
HSVhsv(307, 52%, 73%)
CMYKcmyk(0%, 51.9%, 5.9%, 26.7%)
CIE-LABlab(52.96, 50.52, -28.33)
CIE-LCHlch(52.96, 57.92, 330.72°)
OKLaboklab(61.54% 0.1441 -0.0772)
OKLCHoklch(61.54% 0.163 331.8)
XYZxyz(31.9860, 21.0138, 43.4372)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AB0 #5ABB65
analogous
#965ABB #BB5AB0 #BB5A80
triadic
#BB5AB0 #B0BB5A #5AB0BB
tetradic
#BB5AB0 #BB965A #5ABB65 #5A80BB
square
#BB5AB0 #BB965A #5ABB65 #5A80BB
split-complementary
#BB5AB0 #80BB5A #5ABB96
monochromatic
#6D2D66 #993F8F #BB5AB0 #CD85C5 #DFB1DA

Accessibility & contrast

On white

4.04
#BB5AB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BB5AB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AB0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AB0#FFFFFF#000000##000000
##BB5AB01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B3
Deuteranopia (green-blind)
#7383AD
Tritanopia (blue-blind)
#C2617D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5ab0;
/* rgb */ color: rgb(187, 90, 176);
/* oklch */ color: oklch(61.5% 0.163 331.8);
Tailwind
colors: {
  custom: {
    50: '#d28dc8',
    500: '#bb5ab0',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ab0;
$custom-light: #d28dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ab0",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 306.804,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.16343,
    "h": 331.8
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#BB5AB0
secondary
#A4CDA8
accent
#D16456
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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