#BB4FA7#BB4FA7

#BB4FA7 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.173 H 335.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BB4FA7
RGBrgb(187, 79, 167)
HSLhsl(311, 44%, 52%)
HSVhsv(311, 58%, 73%)
CMYKcmyk(0%, 57.8%, 10.7%, 26.7%)
CIE-LABlab(50.63, 54.24, -26.69)
CIE-LCHlch(50.63, 60.45, 333.80°)
OKLaboklab(59.68% 0.1576 -0.0725)
OKLCHoklch(59.68% 0.173 335.3)
XYZxyz(30.2648, 18.9491, 38.6152)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FA7 #4FBB63
analogous
#994FBB #BB4FA7 #BB4F71
triadic
#BB4FA7 #A7BB4F #4FA7BB
tetradic
#BB4FA7 #BB994F #4FBB63 #4F71BB
square
#BB4FA7 #BB994F #4FBB63 #4F71BB
split-complementary
#BB4FA7 #71BB4F #4FBB99
monochromatic
#68285C #943983 #BB4FA7 #CC7BBD #DDA7D3

Accessibility & contrast

On white

4.38
#BB4FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BB4FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FA7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FA7#FFFFFF#000000##000000
##BB4FA71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#707EA4
Tritanopia (blue-blind)
#C35574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4fa7;
/* rgb */ color: rgb(187, 79, 167);
/* oklch */ color: oklch(59.7% 0.173 335.3);
Tailwind
colors: {
  custom: {
    50: '#d286c1',
    500: '#bb4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fa7;
$custom-light: #d286c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fa7",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 311.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.17344,
    "h": 335.3
  },
  "luminance": 0.18947
}

Semantic roles & 50–950 ramp

primary
#BB4FA7
secondary
#9BCAA4
accent
#D46C54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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