#BB47A9#BB47A9

#BB47A9 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.187 H 334.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB47A9
RGBrgb(187, 71, 169)
HSLhsl(309, 46%, 51%)
HSVhsv(309, 62%, 73%)
CMYKcmyk(0%, 62%, 9.6%, 26.7%)
CIE-LABlab(49.42, 58.10, -29.74)
CIE-LCHlch(49.42, 65.27, 332.89°)
OKLaboklab(58.83% 0.1683 -0.0811)
OKLCHoklch(58.83% 0.187 334.3)
XYZxyz(29.9084, 17.9382, 39.4156)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A9 #47BB59
analogous
#9347BB #BB47A9 #BB476F
triadic
#BB47A9 #A9BB47 #47A9BB
tetradic
#BB47A9 #BB9347 #47BB59 #476FBB
square
#BB47A9 #BB9347 #47BB59 #476FBB
split-complementary
#BB47A9 #6FBB47 #47BB93
monochromatic
#632559 #903582 #BB47A9 #CC74BE #DCA0D3

Accessibility & contrast

On white

4.58
#BB47A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BB47A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47A9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A9#FFFFFF#000000##000000
##BB47A91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#466BAC
Deuteranopia (green-blind)
#6B7CA6
Tritanopia (blue-blind)
#C34F71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb47a9;
/* rgb */ color: rgb(187, 71, 169);
/* oklch */ color: oklch(58.8% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#d282c3',
    500: '#bb47a9',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a9;
$custom-light: #d282c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a9",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 309.31,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.18678,
    "h": 334.3
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#BB47A9
secondary
#95C99D
accent
#D66752
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47A9

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

Preview Lab → · Contrast checker → · Palette generator →

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