#BB57AC#BB57AC

#BB57AC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.9% C 0.165 H 333.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BB57AC
RGBrgb(187, 87, 172)
HSLhsl(309, 42%, 54%)
HSVhsv(309, 53%, 73%)
CMYKcmyk(0%, 53.5%, 8%, 26.7%)
CIE-LABlab(52.24, 51.30, -27.11)
CIE-LCHlch(52.24, 58.03, 332.14°)
OKLaboklab(60.95% 0.1475 -0.0737)
OKLCHoklch(60.95% 0.165 333.4)
XYZxyz(31.3481, 20.3619, 41.3008)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57AC #57BB66
analogous
#9857BB #BB57AC #BB577A
triadic
#BB57AC #ACBB57 #57ACBB
tetradic
#BB57AC #BB9857 #57BB66 #577ABB
square
#BB57AC #BB9857 #57BB66 #577ABB
split-complementary
#BB57AC #7ABB57 #57BB98
monochromatic
#6C2C62 #973D8A #BB57AC #CD83C2 #DEAED7

Accessibility & contrast

On white

4.14
#BB57AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#BB57AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57AC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57AC#FFFFFF#000000##000000
##BB57AC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#C35D7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb57ac;
/* rgb */ color: rgb(187, 87, 172);
/* oklch */ color: oklch(60.9% 0.165 333.4);
Tailwind
colors: {
  custom: {
    50: '#d28bc5',
    500: '#bb57ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb57ac;
$custom-light: #d28bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57ac",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 309,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60946,
    "c": 0.16492,
    "h": 333.4
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#BB57AC
secondary
#A2CCA8
accent
#D26856
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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