#BB47AA#BB47AA

#BB47AA is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.188 H 333.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB47AA
RGBrgb(187, 71, 170)
HSLhsl(309, 46%, 51%)
HSVhsv(309, 62%, 73%)
CMYKcmyk(0%, 62%, 9.1%, 26.7%)
CIE-LABlab(49.47, 58.26, -30.26)
CIE-LCHlch(49.47, 65.65, 332.55°)
OKLaboklab(58.88% 0.1684 -0.0825)
OKLCHoklch(58.88% 0.188 333.9)
XYZxyz(30.0026, 17.9759, 39.9119)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47AA #47BB58
analogous
#9247BB #BB47AA #BB4770
triadic
#BB47AA #AABB47 #47AABB
tetradic
#BB47AA #BB9247 #47BB58 #4770BB
square
#BB47AA #BB9247 #47BB58 #4770BB
split-complementary
#BB47AA #70BB47 #47BB92
monochromatic
#63255A #903582 #BB47AA #CC74BF #DCA0D3

Accessibility & contrast

On white

4.57
#BB47AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB47AA#FFFFFF#000000##000000
##BB47AA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#6A7CA7
Tritanopia (blue-blind)
#C34F72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb47aa;
/* rgb */ color: rgb(187, 71, 170);
/* oklch */ color: oklch(58.9% 0.188 333.9);
Tailwind
colors: {
  custom: {
    50: '#d282c3',
    500: '#bb47aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb47aa;
$custom-light: #d282c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47aa",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 308.793,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.18754,
    "h": 333.9
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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