#BB52B8#BB52B8

#BB52B8 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.183 H 328.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BB52B8
RGBrgb(187, 82, 184)
HSLhsl(302, 44%, 53%)
HSVhsv(302, 56%, 73%)
CMYKcmyk(0%, 56.1%, 1.6%, 26.7%)
CIE-LABlab(51.91, 55.72, -34.62)
CIE-LCHlch(51.91, 65.60, 328.15°)
OKLaboklab(60.88% 0.1562 -0.0951)
OKLCHoklch(60.88% 0.183 328.6)
XYZxyz(32.1621, 20.0621, 47.5165)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B8 #52BB55
analogous
#8952BB #BB52B8 #BB5284
triadic
#BB52B8 #B8BB52 #52B8BB
tetradic
#BB52B8 #BB8952 #52BB55 #5284BB
square
#BB52B8 #BB8952 #52BB55 #5284BB
split-complementary
#BB52B8 #84BB52 #52BB89
monochromatic
#692967 #953B93 #BB52B8 #CC7ECA #DEAADC

Accessibility & contrast

On white

4.19
#BB52B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BB52B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B8#FFFFFF#000000##000000
##BB52B81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#C15D7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb52b8;
/* rgb */ color: rgb(187, 82, 184);
/* oklch */ color: oklch(60.9% 0.183 328.6);
Tailwind
colors: {
  custom: {
    50: '#d288cd',
    500: '#bb52b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b8;
$custom-light: #d288cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b8",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 301.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.18285,
    "h": 328.6
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#BB52B8
secondary
#9ECB9F
accent
#D35854
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52B8

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

Preview Lab → · Contrast checker → · Palette generator →

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