#BB51AE#BB51AE

#BB51AE is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.176 H 332.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB51AE
RGBrgb(187, 81, 174)
HSLhsl(307, 44%, 53%)
HSVhsv(307, 57%, 73%)
CMYKcmyk(0%, 56.7%, 7%, 26.7%)
CIE-LABlab(51.28, 54.47, -29.79)
CIE-LCHlch(51.28, 62.08, 331.33°)
OKLaboklab(60.26% 0.1561 -0.0813)
OKLCHoklch(60.26% 0.176 332.5)
XYZxyz(31.0759, 19.5078, 42.1648)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51AE #51BB5E
analogous
#9351BB #BB51AE #BB5179
triadic
#BB51AE #AEBB51 #51AEBB
tetradic
#BB51AE #BB9351 #51BB5E #5179BB
square
#BB51AE #BB9351 #51BB5E #5179BB
split-complementary
#BB51AE #79BB51 #51BB93
monochromatic
#692961 #953A8A #BB51AE #CC7DC2 #DDA9D7

Accessibility & contrast

On white

4.28
#BB51AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BB51AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51AE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51AE#FFFFFF#000000##000000
##BB51AE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B1
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#C25978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb51ae;
/* rgb */ color: rgb(187, 81, 174);
/* oklch */ color: oklch(60.3% 0.176 332.5);
Tailwind
colors: {
  custom: {
    50: '#d287c6',
    500: '#bb51ae',
    950: '#000000',
  },
}
SCSS
$custom: #bb51ae;
$custom-light: #d287c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51ae",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 307.358,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.17597,
    "h": 332.5
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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