#BB51AB#BB51AB

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

Color values

HEX#BB51AB
RGBrgb(187, 81, 171)
HSLhsl(309, 44%, 53%)
HSVhsv(309, 57%, 73%)
CMYKcmyk(0%, 56.7%, 8.6%, 26.7%)
CIE-LABlab(51.14, 53.97, -28.24)
CIE-LCHlch(51.14, 60.91, 332.38°)
OKLaboklab(60.12% 0.1556 -0.0769)
OKLCHoklch(60.12% 0.174 333.7)
XYZxyz(30.7867, 19.3921, 40.6417)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51AB #51BB61
analogous
#9651BB #BB51AB #BB5176
triadic
#BB51AB #ABBB51 #51ABBB
tetradic
#BB51AB #BB9651 #51BB61 #5176BB
square
#BB51AB #BB9651 #51BB61 #5176BB
split-complementary
#BB51AB #76BB51 #51BB96
monochromatic
#69295F #953A87 #BB51AB #CC7DC0 #DDA9D5

Accessibility & contrast

On white

4.31
#BB51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BB51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51AB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51AB#FFFFFF#000000##000000
##BB51AB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#707FA8
Tritanopia (blue-blind)
#C35877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb51ab;
/* rgb */ color: rgb(187, 81, 171);
/* oklch */ color: oklch(60.1% 0.174 333.7);
Tailwind
colors: {
  custom: {
    50: '#d287c4',
    500: '#bb51ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb51ab;
$custom-light: #d287c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51ab",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 309.057,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.17354,
    "h": 333.7
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#BB51AB
secondary
#9DCBA4
accent
#D46754
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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