#BB51AC#BB51AC

#BB51AC is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.174 H 333.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB51AC
RGBrgb(187, 81, 172)
HSLhsl(308, 44%, 53%)
HSVhsv(308, 57%, 73%)
CMYKcmyk(0%, 56.7%, 8%, 26.7%)
CIE-LABlab(51.19, 54.14, -28.75)
CIE-LCHlch(51.19, 61.30, 332.03°)
OKLaboklab(60.17% 0.1558 -0.0783)
OKLCHoklch(60.17% 0.174 333.3)
XYZxyz(30.8824, 19.4304, 41.1456)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51AC #51BB60
analogous
#9551BB #BB51AC #BB5177
triadic
#BB51AC #ACBB51 #51ACBB
tetradic
#BB51AC #BB9551 #51BB60 #5177BB
square
#BB51AC #BB9551 #51BB60 #5177BB
split-complementary
#BB51AC #77BB51 #51BB95
monochromatic
#692960 #953A88 #BB51AC #CC7DC1 #DDA9D6

Accessibility & contrast

On white

4.30
#BB51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BB51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51AC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51AC#FFFFFF#000000##000000
##BB51AC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AF
Deuteranopia (green-blind)
#6F80A9
Tritanopia (blue-blind)
#C35877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb51ac;
/* rgb */ color: rgb(187, 81, 172);
/* oklch */ color: oklch(60.2% 0.174 333.3);
Tailwind
colors: {
  custom: {
    50: '#d287c5',
    500: '#bb51ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb51ac;
$custom-light: #d287c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51ac",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 308.491,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.17434,
    "h": 333.3
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#BB51AC
secondary
#9DCBA3
accent
#D46654
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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