#BB5AB8#BB5AB8

#BB5AB8 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.9% C 0.170 H 328.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB5AB8
RGBrgb(187, 90, 184)
HSLhsl(302, 42%, 54%)
HSVhsv(302, 52%, 73%)
CMYKcmyk(0%, 51.9%, 1.6%, 26.7%)
CIE-LABlab(53.32, 51.92, -32.41)
CIE-LCHlch(53.32, 61.21, 328.03°)
OKLaboklab(61.91% 0.1454 -0.0889)
OKLCHoklch(61.91% 0.17 328.6)
XYZxyz(32.8010, 21.3398, 47.7294)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AB8 #5ABB5D
analogous
#8E5ABB #BB5AB8 #BB5A88
triadic
#BB5AB8 #B8BB5A #5AB8BB
tetradic
#BB5AB8 #BB8E5A #5ABB5D #5A88BB
square
#BB5AB8 #BB8E5A #5ABB5D #5A88BB
split-complementary
#BB5AB8 #88BB5A #5ABB8E
monochromatic
#6D2D6B #993F96 #BB5AB8 #CD85CB #DFB1DD

Accessibility & contrast

On white

3.99
#BB5AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BB5AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AB8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AB8#FFFFFF#000000##000000
##BB5AB81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BB
Deuteranopia (green-blind)
#7084B5
Tritanopia (blue-blind)
#C16481
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ab8;
/* rgb */ color: rgb(187, 90, 184);
/* oklch */ color: oklch(61.9% 0.170 328.6);
Tailwind
colors: {
  custom: {
    50: '#d28dcd',
    500: '#bb5ab8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ab8;
$custom-light: #d28dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ab8",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 301.856,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.17041,
    "h": 328.6
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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