#BB5BA7#BB5BA7

#BB5BA7 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.3% C 0.154 H 335.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB5BA7
RGBrgb(187, 91, 167)
HSLhsl(313, 41%, 55%)
HSVhsv(313, 51%, 73%)
CMYKcmyk(0%, 51.3%, 10.7%, 26.7%)
CIE-LABlab(52.77, 48.51, -23.38)
CIE-LCHlch(52.77, 53.85, 334.27°)
OKLaboklab(61.27% 0.1408 -0.0632)
OKLCHoklch(61.27% 0.154 335.8)
XYZxyz(31.2098, 20.8391, 38.9303)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BA7 #5BBB6F
analogous
#9F5BBB #BB5BA7 #BB5B77
triadic
#BB5BA7 #A7BB5B #5BA7BB
tetradic
#BB5BA7 #BB9F5B #5BBB6F #5B77BB
square
#BB5BA7 #BB9F5B #5BBB6F #5B77BB
split-complementary
#BB5BA7 #77BB5B #5BBB9F
monochromatic
#6E2E61 #994087 #BB5BA7 #CD86BE #DFB2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5BA7#FFFFFF#000000##000000
##BB5BA71.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)
#5C75AA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#C35F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5ba7;
/* rgb */ color: rgb(187, 91, 167);
/* oklch */ color: oklch(61.3% 0.154 335.8);
Tailwind
colors: {
  custom: {
    50: '#d28dc1',
    500: '#bb5ba7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ba7;
$custom-light: #d28dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ba7",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 312.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.15435,
    "h": 335.8
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#BB5BA7
secondary
#A5CDAD
accent
#D17057
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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