#BB52BC#BB52BC

#BB52BC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.186 H 327.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB52BC
RGBrgb(187, 82, 188)
HSLhsl(299, 44%, 53%)
HSVhsv(299, 56%, 74%)
CMYKcmyk(0.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(52.10, 56.42, -36.64)
CIE-LCHlch(52.10, 67.27, 327.00°)
OKLaboklab(61.08% 0.1566 -0.1009)
OKLCHoklch(61.08% 0.186 327.2)
XYZxyz(32.5874, 20.2322, 49.7560)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52BC #53BC52
analogous
#8652BC #BB52BC #BC5288
triadic
#BB52BC #BCBB52 #52BCBB
tetradic
#BB52BC #BC8652 #53BC52 #5288BC
square
#BB52BC #BC8652 #53BC52 #5288BC
split-complementary
#BB52BC #88BC52 #52BC86
monochromatic
#6A296A #963A97 #BB52BC #CC7ECD #DEAADE

Accessibility & contrast

On white

4.16
#BB52BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BB52BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52BC#FFFFFF#000000##000000
##BB52BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674BF
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#C05F7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb52bc;
/* rgb */ color: rgb(187, 82, 188);
/* oklch */ color: oklch(61.1% 0.186 327.2);
Tailwind
colors: {
  custom: {
    50: '#d288d0',
    500: '#bb52bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb52bc;
$custom-light: #d288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52bc",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 299.434,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.18633,
    "h": 327.2
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#BB52BC
secondary
#9ECC9E
accent
#D45455
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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