#BB4FA1#BB4FA1

#BB4FA1 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.169 H 337.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB4FA1
RGBrgb(187, 79, 161)
HSLhsl(314, 44%, 52%)
HSVhsv(314, 58%, 73%)
CMYKcmyk(0%, 57.8%, 13.9%, 26.7%)
CIE-LABlab(50.37, 53.29, -23.55)
CIE-LCHlch(50.37, 58.27, 336.15°)
OKLaboklab(59.41% 0.1565 -0.0636)
OKLCHoklch(59.41% 0.169 337.9)
XYZxyz(29.7229, 18.7323, 35.7615)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FA1 #4FBB69
analogous
#9F4FBB #BB4FA1 #BB4F6B
triadic
#BB4FA1 #A1BB4F #4FA1BB
tetradic
#BB4FA1 #BB9F4F #4FBB69 #4F6BBB
square
#BB4FA1 #BB9F4F #4FBB69 #4F6BBB
split-complementary
#BB4FA1 #6BBB4F #4FBB9F
monochromatic
#682858 #94397E #BB4FA1 #CC7BB9 #DDA7D0

Accessibility & contrast

On white

4.42
#BB4FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB4FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FA1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FA1#FFFFFF#000000##000000
##BB4FA11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#727E9E
Tritanopia (blue-blind)
#C45371
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4fa1;
/* rgb */ color: rgb(187, 79, 161);
/* oklch */ color: oklch(59.4% 0.169 337.9);
Tailwind
colors: {
  custom: {
    50: '#d286bd',
    500: '#bb4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fa1;
$custom-light: #d286bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fa1",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 314.444,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.16888,
    "h": 337.9
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#BB4FA1
secondary
#9BCAA7
accent
#D47354
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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