#BB52B9#BB52B9

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

Color values

HEX#BB52B9
RGBrgb(187, 82, 185)
HSLhsl(301, 44%, 53%)
HSVhsv(301, 56%, 73%)
CMYKcmyk(0%, 56.1%, 1.1%, 26.7%)
CIE-LABlab(51.95, 55.89, -35.13)
CIE-LCHlch(51.95, 66.01, 327.85°)
OKLaboklab(60.93% 0.1563 -0.0966)
OKLCHoklch(60.93% 0.184 328.3)
XYZxyz(32.2673, 20.1042, 48.0705)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B9 #52BB54
analogous
#8852BB #BB52B9 #BB5284
triadic
#BB52B9 #B9BB52 #52B9BB
tetradic
#BB52B9 #BB8852 #52BB54 #5284BB
square
#BB52B9 #BB8852 #52BB54 #5284BB
split-complementary
#BB52B9 #84BB52 #52BB88
monochromatic
#692968 #953B93 #BB52B9 #CC7ECB #DEAADD

Accessibility & contrast

On white

4.18
#BB52B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BB52B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B9#FFFFFF#000000##000000
##BB52B91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BC
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#C15E7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb52b9;
/* rgb */ color: rgb(187, 82, 185);
/* oklch */ color: oklch(60.9% 0.184 328.3);
Tailwind
colors: {
  custom: {
    50: '#d288ce',
    500: '#bb52b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b9;
$custom-light: #d288ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b9",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 301.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.18372,
    "h": 328.3
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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