#BB27A0#BB27A0

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

Color values

HEX#BB27A0
RGBrgb(187, 39, 160)
HSLhsl(311, 65%, 44%)
HSVhsv(311, 79%, 73%)
CMYKcmyk(0%, 79.1%, 14.4%, 26.7%)
CIE-LABlab(45.02, 67.94, -31.28)
CIE-LCHlch(45.02, 74.80, 335.28°)
OKLaboklab(55.5% 0.2004 -0.0852)
OKLCHoklch(55.5% 0.218 337)
XYZxyz(27.5648, 14.5565, 34.6089)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27A0 #27BB42
analogous
#8C27BB #BB27A0 #BB2756
triadic
#BB27A0 #A0BB27 #27A0BB
tetradic
#BB27A0 #BB8C27 #27BB42 #2756BB
square
#BB27A0 #BB8C27 #27BB42 #2756BB
split-complementary
#BB27A0 #56BB27 #27BB8C
monochromatic
#561249 #881C75 #BB27A0 #D947BE #E379D0

Accessibility & contrast

On white

5.37
#BB27A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BB27A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27A0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27A0#FFFFFF#000000##FFFFFF
##BB27A01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA3
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#C53262
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb27a0;
/* rgb */ color: rgb(187, 39, 160);
/* oklch */ color: oklch(55.5% 0.218 337.0);
Tailwind
colors: {
  custom: {
    50: '#d473bc',
    500: '#bb27a0',
    950: '#000000',
  },
}
SCSS
$custom: #bb27a0;
$custom-light: #d473bc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27a0",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 310.946,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.21777,
    "h": 337
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#BB27A0
secondary
#73CB83
accent
#E85E3F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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