#BB57BD#BB57BD

#BB57BD is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.8% C 0.180 H 326.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB57BD
RGBrgb(187, 87, 189)
HSLhsl(299, 44%, 54%)
HSVhsv(299, 54%, 74%)
CMYKcmyk(1.1%, 54%, 0%, 25.9%)
CIE-LABlab(53.01, 54.26, -35.78)
CIE-LCHlch(53.01, 65.00, 326.60°)
OKLaboklab(61.76% 0.1502 -0.0985)
OKLCHoklch(61.76% 0.18 326.7)
XYZxyz(33.0864, 21.0572, 50.4560)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57BD #59BD57
analogous
#8857BD #BB57BD #BD578C
triadic
#BB57BD #BDBB57 #57BDBB
tetradic
#BB57BD #BD8857 #59BD57 #578CBD
square
#BB57BD #BD8857 #59BD57 #578CBD
split-complementary
#BB57BD #8CBD57 #57BD88
monochromatic
#6D2B6E #983D9A #BB57BD #CD83CE #DFAFE0

Accessibility & contrast

On white

4.03
#BB57BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BB57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57BD#FFFFFF#000000##000000
##BB57BD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76C0
Deuteranopia (green-blind)
#6C83BA
Tritanopia (blue-blind)
#C06382
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb57bd;
/* rgb */ color: rgb(187, 87, 189);
/* oklch */ color: oklch(61.8% 0.180 326.7);
Tailwind
colors: {
  custom: {
    50: '#d28bd1',
    500: '#bb57bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb57bd;
$custom-light: #d28bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57bd",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 298.824,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.1796,
    "h": 326.7
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#BB57BD
secondary
#A3CEA2
accent
#D35457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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