#BB52AC#BB52AC

#BB52AC is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.3% C 0.173 H 333.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB52AC
RGBrgb(187, 82, 172)
HSLhsl(309, 44%, 53%)
HSVhsv(309, 56%, 73%)
CMYKcmyk(0%, 56.1%, 8%, 26.7%)
CIE-LABlab(51.36, 53.67, -28.49)
CIE-LCHlch(51.36, 60.77, 332.04°)
OKLaboklab(60.29% 0.1544 -0.0776)
OKLCHoklch(60.29% 0.173 333.3)
XYZxyz(30.9572, 19.5801, 41.1706)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52AC #52BB61
analogous
#9552BB #BB52AC #BB5278
triadic
#BB52AC #ACBB52 #52ACBB
tetradic
#BB52AC #BB9552 #52BB61 #5278BB
square
#BB52AC #BB9552 #52BB61 #5278BB
split-complementary
#BB52AC #78BB52 #52BB95
monochromatic
#692960 #953B88 #BB52AC #CC7EC1 #DEAAD6

Accessibility & contrast

On white

4.27
#BB52AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52AC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52AC#FFFFFF#000000##000000
##BB52AC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#C35977
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb52ac;
/* rgb */ color: rgb(187, 82, 172);
/* oklch */ color: oklch(60.3% 0.173 333.3);
Tailwind
colors: {
  custom: {
    50: '#d288c5',
    500: '#bb52ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb52ac;
$custom-light: #d288c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52ac",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 308.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.1728,
    "h": 333.3
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#BB52AC
secondary
#9ECBA4
accent
#D36754
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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