#BB5AB3#BB5AB3

#BB5AB3 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.166 H 330.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB5AB3
RGBrgb(187, 90, 179)
HSLhsl(305, 42%, 54%)
HSVhsv(305, 52%, 73%)
CMYKcmyk(0%, 51.9%, 4.3%, 26.7%)
CIE-LABlab(53.10, 51.04, -29.86)
CIE-LCHlch(53.10, 59.14, 329.67°)
OKLaboklab(61.68% 0.1446 -0.0816)
OKLCHoklch(61.68% 0.166 330.6)
XYZxyz(32.2861, 21.1338, 45.0178)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AB3 #5ABB62
analogous
#925ABB #BB5AB3 #BB5A83
triadic
#BB5AB3 #B3BB5A #5AB3BB
tetradic
#BB5AB3 #BB925A #5ABB62 #5A83BB
square
#BB5AB3 #BB925A #5ABB62 #5A83BB
split-complementary
#BB5AB3 #83BB5A #5ABB92
monochromatic
#6D2D68 #993F91 #BB5AB3 #CD85C7 #DFB1DB

Accessibility & contrast

On white

4.02
#BB5AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BB5AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AB3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AB3#FFFFFF#000000##000000
##BB5AB31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B6
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#C1627E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ab3;
/* rgb */ color: rgb(187, 90, 179);
/* oklch */ color: oklch(61.7% 0.166 330.6);
Tailwind
colors: {
  custom: {
    50: '#d28dca',
    500: '#bb5ab3',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ab3;
$custom-light: #d28dca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ab3",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 304.948,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.16601,
    "h": 330.6
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#BB5AB3
secondary
#A4CDA7
accent
#D16156
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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