#BB4FA5#BB4FA5

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

Color values

HEX#BB4FA5
RGBrgb(187, 79, 165)
HSLhsl(312, 44%, 52%)
HSVhsv(312, 58%, 73%)
CMYKcmyk(0%, 57.8%, 11.8%, 26.7%)
CIE-LABlab(50.54, 53.92, -25.65)
CIE-LCHlch(50.54, 59.71, 334.56°)
OKLaboklab(59.59% 0.1572 -0.0695)
OKLCHoklch(59.59% 0.172 336.2)
XYZxyz(30.0813, 18.8757, 37.6490)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FA5 #4FBB65
analogous
#9B4FBB #BB4FA5 #BB4F6F
triadic
#BB4FA5 #A5BB4F #4FA5BB
tetradic
#BB4FA5 #BB9B4F #4FBB65 #4F6FBB
square
#BB4FA5 #BB9B4F #4FBB65 #4F6FBB
split-complementary
#BB4FA5 #6FBB4F #4FBB9B
monochromatic
#68285B #943981 #BB4FA5 #CC7BBC #DDA7D2

Accessibility & contrast

On white

4.40
#BB4FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BB4FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FA5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FA5#FFFFFF#000000##000000
##BB4FA51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#717EA2
Tritanopia (blue-blind)
#C45473
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4fa5;
/* rgb */ color: rgb(187, 79, 165);
/* oklch */ color: oklch(59.6% 0.172 336.2);
Tailwind
colors: {
  custom: {
    50: '#d286c0',
    500: '#bb4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fa5;
$custom-light: #d286c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fa5",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 312.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.1719,
    "h": 336.2
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#BB4FA5
secondary
#9BCAA5
accent
#D46E54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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