#BB27A1#BB27A1

#BB27A1 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.6% C 0.218 H 336.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB27A1
RGBrgb(187, 39, 161)
HSLhsl(311, 65%, 44%)
HSVhsv(311, 79%, 73%)
CMYKcmyk(0%, 79.1%, 13.9%, 26.7%)
CIE-LABlab(45.07, 68.08, -31.80)
CIE-LCHlch(45.07, 75.14, 334.96°)
OKLaboklab(55.55% 0.2005 -0.0867)
OKLCHoklch(55.55% 0.218 336.6)
XYZxyz(27.6526, 14.5917, 35.0714)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27A1 #27BB41
analogous
#8B27BB #BB27A1 #BB2757
triadic
#BB27A1 #A1BB27 #27A1BB
tetradic
#BB27A1 #BB8B27 #27BB41 #2757BB
square
#BB27A1 #BB8B27 #27BB41 #2757BB
split-complementary
#BB27A1 #57BB27 #27BB8B
monochromatic
#56124A #881C75 #BB27A1 #D947BF #E379D1

Accessibility & contrast

On white

5.36
#BB27A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB27A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27A1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27A1#FFFFFF#000000##FFFFFF
##BB27A11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA4
Deuteranopia (green-blind)
#61729E
Tritanopia (blue-blind)
#C53363
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb27a1;
/* rgb */ color: rgb(187, 39, 161);
/* oklch */ color: oklch(55.6% 0.218 336.6);
Tailwind
colors: {
  custom: {
    50: '#d473bd',
    500: '#bb27a1',
    950: '#000000',
  },
}
SCSS
$custom: #bb27a1;
$custom-light: #d473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27a1",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 310.541,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.21843,
    "h": 336.6
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#BB27A1
secondary
#73CB82
accent
#E85D3F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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