#BB57B9#BB57B9

#BB57B9 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.176 H 328.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB57B9
RGBrgb(187, 87, 185)
HSLhsl(301, 42%, 54%)
HSVhsv(301, 53%, 73%)
CMYKcmyk(0%, 53.5%, 1.1%, 26.7%)
CIE-LABlab(52.82, 53.55, -33.76)
CIE-LCHlch(52.82, 63.30, 327.77°)
OKLaboklab(61.56% 0.1496 -0.0927)
OKLCHoklch(61.56% 0.176 328.2)
XYZxyz(32.6582, 20.8859, 48.2008)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B9 #57BB59
analogous
#8B57BB #BB57B9 #BB5787
triadic
#BB57B9 #B9BB57 #57B9BB
tetradic
#BB57B9 #BB8B57 #57BB59 #5787BB
square
#BB57B9 #BB8B57 #57BB59 #5787BB
split-complementary
#BB57B9 #87BB57 #57BB8B
monochromatic
#6C2C6B #973D96 #BB57B9 #CD83CB #DEAEDD

Accessibility & contrast

On white

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

On black

5.18
#BB57B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57B9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57B9#FFFFFF#000000##000000
##BB57B91.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BC
Deuteranopia (green-blind)
#6D83B6
Tritanopia (blue-blind)
#C06280
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb57b9;
/* rgb */ color: rgb(187, 87, 185);
/* oklch */ color: oklch(61.6% 0.176 328.2);
Tailwind
colors: {
  custom: {
    50: '#d28bce',
    500: '#bb57b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b9;
$custom-light: #d28bce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b9",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 185
  },
  "hsl": {
    "h": 301.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61564,
    "c": 0.17603,
    "h": 328.2
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#BB57B9
secondary
#A2CCA2
accent
#D25856
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB57B9

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

Preview Lab → · Contrast checker → · Palette generator →

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