#BB57BA#BB57BA

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

Color values

HEX#BB57BA
RGBrgb(187, 87, 186)
HSLhsl(301, 42%, 54%)
HSVhsv(301, 53%, 73%)
CMYKcmyk(0%, 53.5%, 0.5%, 26.7%)
CIE-LABlab(52.87, 53.72, -34.27)
CIE-LCHlch(52.87, 63.72, 327.47°)
OKLaboklab(61.61% 0.1498 -0.0942)
OKLCHoklch(61.61% 0.177 327.8)
XYZxyz(32.7641, 20.9283, 48.7587)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57BA #57BB58
analogous
#8A57BB #BB57BA #BB5788
triadic
#BB57BA #BABB57 #57BABB
tetradic
#BB57BA #BB8A57 #57BB58 #5788BB
square
#BB57BA #BB8A57 #57BB58 #5788BB
split-complementary
#BB57BA #88BB57 #57BB8A
monochromatic
#6C2C6B #973D97 #BB57BA #CD83CC #DEAEDE

Accessibility & contrast

On white

4.05
#BB57BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BB57BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57BA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57BA#FFFFFF#000000##000000
##BB57BA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb57ba;
/* rgb */ color: rgb(187, 87, 186);
/* oklch */ color: oklch(61.6% 0.177 327.8);
Tailwind
colors: {
  custom: {
    50: '#d28bcf',
    500: '#bb57ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb57ba;
$custom-light: #d28bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57ba",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 300.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.17692,
    "h": 327.8
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#BB57BA
secondary
#A2CCA2
accent
#D25756
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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