#BB5AB1#BB5AB1

#BB5AB1 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.164 H 331.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB5AB1
RGBrgb(187, 90, 177)
HSLhsl(306, 42%, 54%)
HSVhsv(306, 52%, 73%)
CMYKcmyk(0%, 51.9%, 5.3%, 26.7%)
CIE-LABlab(53.01, 50.70, -28.84)
CIE-LCHlch(53.01, 58.33, 330.37°)
OKLaboklab(61.58% 0.1442 -0.0787)
OKLCHoklch(61.58% 0.164 331.4)
XYZxyz(32.0853, 21.0535, 43.9602)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AB1 #5ABB64
analogous
#955ABB #BB5AB1 #BB5A81
triadic
#BB5AB1 #B1BB5A #5AB1BB
tetradic
#BB5AB1 #BB955A #5ABB64 #5A81BB
square
#BB5AB1 #BB955A #5ABB64 #5A81BB
split-complementary
#BB5AB1 #81BB5A #5ABB95
monochromatic
#6D2D67 #993F90 #BB5AB1 #CD85C5 #DFB1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5AB1#FFFFFF#000000##000000
##BB5AB11.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)
#5676B4
Deuteranopia (green-blind)
#7383AE
Tritanopia (blue-blind)
#C2627D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ab1;
/* rgb */ color: rgb(187, 90, 177);
/* oklch */ color: oklch(61.6% 0.164 331.4);
Tailwind
colors: {
  custom: {
    50: '#d28dc8',
    500: '#bb5ab1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ab1;
$custom-light: #d28dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ab1",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 306.186,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.16429,
    "h": 331.4
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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