#BB5AB2#BB5AB2

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

Color values

HEX#BB5AB2
RGBrgb(187, 90, 178)
HSLhsl(306, 42%, 54%)
HSVhsv(306, 52%, 73%)
CMYKcmyk(0%, 51.9%, 4.8%, 26.7%)
CIE-LABlab(53.05, 50.87, -29.35)
CIE-LCHlch(53.05, 58.73, 330.01°)
OKLaboklab(61.63% 0.1444 -0.0801)
OKLCHoklch(61.63% 0.165 331)
XYZxyz(32.1853, 21.0935, 44.4871)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AB2 #5ABB63
analogous
#945ABB #BB5AB2 #BB5A82
triadic
#BB5AB2 #B2BB5A #5AB2BB
tetradic
#BB5AB2 #BB945A #5ABB63 #5A82BB
square
#BB5AB2 #BB945A #5ABB63 #5A82BB
split-complementary
#BB5AB2 #82BB5A #5ABB94
monochromatic
#6D2D68 #993F90 #BB5AB2 #CD85C6 #DFB1DA

Accessibility & contrast

On white

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

On black

5.22
#BB5AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AB2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AB2#FFFFFF#000000##000000
##BB5AB21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7284AF
Tritanopia (blue-blind)
#C2627E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ab2;
/* rgb */ color: rgb(187, 90, 178);
/* oklch */ color: oklch(61.6% 0.165 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28dc9',
    500: '#bb5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ab2;
$custom-light: #d28dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ab2",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 305.567,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.16515,
    "h": 331
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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