#BB57AB#BB57AB

#BB57AB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.9% C 0.164 H 333.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB57AB
RGBrgb(187, 87, 171)
HSLhsl(310, 42%, 54%)
HSVhsv(310, 53%, 73%)
CMYKcmyk(0%, 53.5%, 8.6%, 26.7%)
CIE-LABlab(52.20, 51.13, -26.60)
CIE-LCHlch(52.20, 57.64, 332.52°)
OKLaboklab(60.9% 0.1473 -0.0723)
OKLCHoklch(60.9% 0.164 333.9)
XYZxyz(31.2524, 20.3236, 40.7970)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57AB #57BB67
analogous
#9957BB #BB57AB #BB5779
triadic
#BB57AB #ABBB57 #57ABBB
tetradic
#BB57AB #BB9957 #57BB67 #5779BB
square
#BB57AB #BB9957 #57BB67 #5779BB
split-complementary
#BB57AB #79BB57 #57BB99
monochromatic
#6C2C62 #973D89 #BB57AB #CD83C1 #DEAED7

Accessibility & contrast

On white

4.15
#BB57AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB57AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57AB#FFFFFF#000000##000000
##BB57AB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AE
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#C35D79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb57ab;
/* rgb */ color: rgb(187, 87, 171);
/* oklch */ color: oklch(60.9% 0.164 333.9);
Tailwind
colors: {
  custom: {
    50: '#d28bc4',
    500: '#bb57ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb57ab;
$custom-light: #d28bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57ab",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 309.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.609,
    "c": 0.1641,
    "h": 333.9
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#BB57AB
secondary
#A2CCA8
accent
#D26A56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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