#BB5CA7#BB5CA7

#BB5CA7 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.4% C 0.153 H 335.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB5CA7
RGBrgb(187, 92, 167)
HSLhsl(313, 41%, 55%)
HSVhsv(313, 51%, 73%)
CMYKcmyk(0%, 50.8%, 10.7%, 26.7%)
CIE-LABlab(52.96, 48.02, -23.09)
CIE-LCHlch(52.96, 53.28, 334.32°)
OKLaboklab(61.41% 0.1394 -0.0624)
OKLCHoklch(61.41% 0.153 335.9)
XYZxyz(31.2958, 21.0113, 38.9589)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CA7 #5CBB70
analogous
#A05CBB #BB5CA7 #BB5C77
triadic
#BB5CA7 #A7BB5C #5CA7BB
tetradic
#BB5CA7 #BBA05C #5CBB70 #5C77BB
square
#BB5CA7 #BBA05C #5CBB70 #5C77BB
split-complementary
#BB5CA7 #77BB5C #5CBBA0
monochromatic
#6F2E61 #9A4087 #BB5CA7 #CD87BE #DFB2D6

Accessibility & contrast

On white

4.04
#BB5CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BB5CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CA7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CA7#FFFFFF#000000##000000
##BB5CA71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75AA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#C3607A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5ca7;
/* rgb */ color: rgb(187, 92, 167);
/* oklch */ color: oklch(61.4% 0.153 335.9);
Tailwind
colors: {
  custom: {
    50: '#d28ec1',
    500: '#bb5ca7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ca7;
$custom-light: #d28ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ca7",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 312.632,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.15268,
    "h": 335.9
  },
  "luminance": 0.21009
}

Semantic roles & 50–950 ramp

primary
#BB5CA7
secondary
#A5CDAE
accent
#D17157
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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