#BB27A3#BB27A3

#BB27A3 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.220 H 335.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BB27A3
RGBrgb(187, 39, 163)
HSLhsl(310, 65%, 44%)
HSVhsv(310, 79%, 73%)
CMYKcmyk(0%, 79.1%, 12.8%, 26.7%)
CIE-LABlab(45.17, 68.36, -32.84)
CIE-LCHlch(45.17, 75.84, 334.34°)
OKLaboklab(55.66% 0.2006 -0.0897)
OKLCHoklch(55.66% 0.22 335.9)
XYZxyz(27.8304, 14.6628, 36.0077)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27A3 #27BB3F
analogous
#8927BB #BB27A3 #BB2759
triadic
#BB27A3 #A3BB27 #27A3BB
tetradic
#BB27A3 #BB8927 #27BB3F #2759BB
square
#BB27A3 #BB8927 #27BB3F #2759BB
split-complementary
#BB27A3 #59BB27 #27BB89
monochromatic
#56124B #881C77 #BB27A3 #D947C1 #E379D2

Accessibility & contrast

On white

5.34
#BB27A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BB27A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27A3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27A3#FFFFFF#000000##FFFFFF
##BB27A31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#C53464
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb27a3;
/* rgb */ color: rgb(187, 39, 163);
/* oklch */ color: oklch(55.7% 0.220 335.9);
Tailwind
colors: {
  custom: {
    50: '#d473be',
    500: '#bb27a3',
    950: '#000000',
  },
}
SCSS
$custom: #bb27a3;
$custom-light: #d473be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27a3",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 309.73,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.21976,
    "h": 335.9
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#BB27A3
secondary
#73CB81
accent
#E85B3F
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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