#BB5DA7#BB5DA7

#BB5DA7 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.6% C 0.151 H 335.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB5DA7
RGBrgb(187, 93, 167)
HSLhsl(313, 41%, 55%)
HSVhsv(313, 50%, 73%)
CMYKcmyk(0%, 50.3%, 10.7%, 26.7%)
CIE-LABlab(53.15, 47.52, -22.79)
CIE-LCHlch(53.15, 52.70, 334.37°)
OKLaboklab(61.55% 0.1379 -0.0616)
OKLCHoklch(61.55% 0.151 335.9)
XYZxyz(31.3830, 21.1857, 38.9880)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DA7 #5DBB71
analogous
#A05DBB #BB5DA7 #BB5D78
triadic
#BB5DA7 #A7BB5D #5DA7BB
tetradic
#BB5DA7 #BBA05D #5DBB71 #5D78BB
square
#BB5DA7 #BBA05D #5DBB71 #5D78BB
split-complementary
#BB5DA7 #78BB5D #5DBBA0
monochromatic
#6F2F61 #9A4187 #BB5DA7 #CD88BE #DFB3D6

Accessibility & contrast

On white

4.01
#BB5DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB5DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DA7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DA7#FFFFFF#000000##000000
##BB5DA71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76A9
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#C3617A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5da7;
/* rgb */ color: rgb(187, 93, 167);
/* oklch */ color: oklch(61.6% 0.151 335.9);
Tailwind
colors: {
  custom: {
    50: '#d18ec1',
    500: '#bb5da7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5da7;
$custom-light: #d18ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5da7",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 312.766,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.15102,
    "h": 335.9
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#BB5DA7
secondary
#A6CEAF
accent
#D17157
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BB5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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