#BB4FA6#BB4FA6

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

Color values

HEX#BB4FA6
RGBrgb(187, 79, 166)
HSLhsl(312, 44%, 52%)
HSVhsv(312, 58%, 73%)
CMYKcmyk(0%, 57.8%, 11.2%, 26.7%)
CIE-LABlab(50.58, 54.08, -26.17)
CIE-LCHlch(50.58, 60.08, 334.18°)
OKLaboklab(59.64% 0.1574 -0.071)
OKLCHoklch(59.64% 0.173 335.7)
XYZxyz(30.1727, 18.9122, 38.1303)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FA6 #4FBB64
analogous
#9A4FBB #BB4FA6 #BB4F70
triadic
#BB4FA6 #A6BB4F #4FA6BB
tetradic
#BB4FA6 #BB9A4F #4FBB64 #4F70BB
square
#BB4FA6 #BB9A4F #4FBB64 #4F70BB
split-complementary
#BB4FA6 #70BB4F #4FBB9A
monochromatic
#68285B #943982 #BB4FA6 #CC7BBC #DDA7D3

Accessibility & contrast

On white

4.39
#BB4FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB4FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FA6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FA6#FFFFFF#000000##000000
##BB4FA61.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#707EA3
Tritanopia (blue-blind)
#C45573
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4fa6;
/* rgb */ color: rgb(187, 79, 166);
/* oklch */ color: oklch(59.6% 0.173 335.7);
Tailwind
colors: {
  custom: {
    50: '#d286c0',
    500: '#bb4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fa6;
$custom-light: #d286c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fa6",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 311.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59638,
    "c": 0.17266,
    "h": 335.7
  },
  "luminance": 0.1891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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