#BB57B8#BB57B8

#BB57B8 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.5% C 0.175 H 328.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB57B8
RGBrgb(187, 87, 184)
HSLhsl(302, 42%, 54%)
HSVhsv(302, 53%, 73%)
CMYKcmyk(0%, 53.5%, 1.6%, 26.7%)
CIE-LABlab(52.78, 53.37, -33.26)
CIE-LCHlch(52.78, 62.88, 328.07°)
OKLaboklab(61.51% 0.1495 -0.0913)
OKLCHoklch(61.51% 0.175 328.6)
XYZxyz(32.5530, 20.8438, 47.6467)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B8 #57BB5A
analogous
#8C57BB #BB57B8 #BB5786
triadic
#BB57B8 #B8BB57 #57B8BB
tetradic
#BB57B8 #BB8C57 #57BB5A #5786BB
square
#BB57B8 #BB8C57 #57BB5A #5786BB
split-complementary
#BB57B8 #86BB57 #57BB8C
monochromatic
#6C2C6A #973D95 #BB57B8 #CD83CA #DEAEDD

Accessibility & contrast

On white

4.06
#BB57B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB57B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57B8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57B8#FFFFFF#000000##000000
##BB57B81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BB
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#C1617F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb57b8;
/* rgb */ color: rgb(187, 87, 184);
/* oklch */ color: oklch(61.5% 0.175 328.6);
Tailwind
colors: {
  custom: {
    50: '#d28bcd',
    500: '#bb57b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b8;
$custom-light: #d28bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b8",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 301.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.17515,
    "h": 328.6
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#BB57B8
secondary
#A2CCA3
accent
#D25956
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB57B8

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

Preview Lab → · Contrast checker → · Palette generator →

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