#BB27A5#BB27A5

#BB27A5 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.221 H 335.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB27A5
RGBrgb(187, 39, 165)
HSLhsl(309, 65%, 44%)
HSVhsv(309, 79%, 73%)
CMYKcmyk(0%, 79.1%, 11.8%, 26.7%)
CIE-LABlab(45.27, 68.65, -33.88)
CIE-LCHlch(45.27, 76.55, 333.73°)
OKLaboklab(55.76% 0.2007 -0.0927)
OKLCHoklch(55.76% 0.221 335.2)
XYZxyz(28.0110, 14.7350, 36.9589)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27A5 #27BB3D
analogous
#8727BB #BB27A5 #BB275B
triadic
#BB27A5 #A5BB27 #27A5BB
tetradic
#BB27A5 #BB8727 #27BB3D #275BBB
square
#BB27A5 #BB8727 #27BB3D #275BBB
split-complementary
#BB27A5 #5BBB27 #27BB87
monochromatic
#56124C #881C78 #BB27A5 #D947C3 #E379D3

Accessibility & contrast

On white

5.32
#BB27A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BB27A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27A5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27A5#FFFFFF#000000##FFFFFF
##BB27A51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#C43565
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb27a5;
/* rgb */ color: rgb(187, 39, 165);
/* oklch */ color: oklch(55.8% 0.221 335.2);
Tailwind
colors: {
  custom: {
    50: '#d473c0',
    500: '#bb27a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb27a5;
$custom-light: #d473c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27a5",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 308.919,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.2211,
    "h": 335.2
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#BB27A5
secondary
#73CB80
accent
#E8583F
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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