#BB52AB#BB52AB

#BB52AB is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.172 H 333.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB52AB
RGBrgb(187, 82, 171)
HSLhsl(309, 44%, 53%)
HSVhsv(309, 56%, 73%)
CMYKcmyk(0%, 56.1%, 8.6%, 26.7%)
CIE-LABlab(51.32, 53.51, -27.97)
CIE-LCHlch(51.32, 60.38, 332.40°)
OKLaboklab(60.25% 0.1542 -0.0761)
OKLCHoklch(60.25% 0.172 333.7)
XYZxyz(30.8616, 19.5419, 40.6667)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52AB #52BB62
analogous
#9652BB #BB52AB #BB5276
triadic
#BB52AB #ABBB52 #52ABBB
tetradic
#BB52AB #BB9652 #52BB62 #5276BB
square
#BB52AB #BB9652 #52BB62 #5276BB
split-complementary
#BB52AB #76BB52 #52BB96
monochromatic
#692960 #953B87 #BB52AB #CC7EC0 #DEAAD6

Accessibility & contrast

On white

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

On black

4.91
#BB52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52AB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52AB#FFFFFF#000000##000000
##BB52AB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb52ab;
/* rgb */ color: rgb(187, 82, 171);
/* oklch */ color: oklch(60.2% 0.172 333.7);
Tailwind
colors: {
  custom: {
    50: '#d288c4',
    500: '#bb52ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb52ab;
$custom-light: #d288c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52ab",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 309.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60247,
    "c": 0.17199,
    "h": 333.7
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#BB52AB
secondary
#9ECBA5
accent
#D36854
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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