#BB52BF#BB52BF

#BB52BF is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.189 H 326.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BB52BF
RGBrgb(187, 82, 191)
HSLhsl(298, 46%, 54%)
HSVhsv(298, 57%, 75%)
CMYKcmyk(2.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(52.25, 56.96, -38.14)
CIE-LCHlch(52.25, 68.55, 326.19°)
OKLaboklab(61.23% 0.1569 -0.1053)
OKLCHoklch(61.23% 0.189 326.1)
XYZxyz(32.9141, 20.3629, 51.4769)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52BF #56BF52
analogous
#8452BF #BB52BF #BF528C
triadic
#BB52BF #BFBB52 #52BFBB
tetradic
#BB52BF #BF8452 #56BF52 #528CBF
square
#BB52BF #BF8452 #56BF52 #528CBF
split-complementary
#BB52BF #8CBF52 #52BF84
monochromatic
#6B296E #97399B #BB52BF #CD7FD0 #DEABE0

Accessibility & contrast

On white

4.14
#BB52BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#BB52BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52BF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52BF#FFFFFF#000000##000000
##BB52BF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#C06081
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb52bf;
/* rgb */ color: rgb(187, 82, 191);
/* oklch */ color: oklch(61.2% 0.189 326.1);
Tailwind
colors: {
  custom: {
    50: '#d288d3',
    500: '#bb52bf',
    950: '#000000',
  },
}
SCSS
$custom: #bb52bf;
$custom-light: #d288d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52bf",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 297.798,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.18897,
    "h": 326.1
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#BB52BF
secondary
#A1CE9F
accent
#D65257
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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