#BB57B7#BB57B7

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

Color values

HEX#BB57B7
RGBrgb(187, 87, 183)
HSLhsl(302, 42%, 54%)
HSVhsv(302, 53%, 73%)
CMYKcmyk(0%, 53.5%, 2.1%, 26.7%)
CIE-LABlab(52.73, 53.19, -32.75)
CIE-LCHlch(52.73, 62.47, 328.38°)
OKLaboklab(61.47% 0.1494 -0.0898)
OKLCHoklch(61.47% 0.174 329)
XYZxyz(32.4486, 20.8021, 47.0966)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B7 #57BB5B
analogous
#8D57BB #BB57B7 #BB5785
triadic
#BB57B7 #B7BB57 #57B7BB
tetradic
#BB57B7 #BB8D57 #57BB5B #5785BB
square
#BB57B7 #BB8D57 #57BB5B #5785BB
split-complementary
#BB57B7 #85BB57 #57BB8D
monochromatic
#6C2C69 #973D94 #BB57B7 #CD83CA #DEAEDC

Accessibility & contrast

On white

4.07
#BB57B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BB57B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57B7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57B7#FFFFFF#000000##000000
##BB57B71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb57b7;
/* rgb */ color: rgb(187, 87, 183);
/* oklch */ color: oklch(61.5% 0.174 329.0);
Tailwind
colors: {
  custom: {
    50: '#d28bcd',
    500: '#bb57b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b7;
$custom-light: #d28bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b7",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 302.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.17428,
    "h": 329
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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