#BB52B4#BB52B4

#BB52B4 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.179 H 330.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BB52B4
RGBrgb(187, 82, 180)
HSLhsl(304, 44%, 53%)
HSVhsv(304, 56%, 73%)
CMYKcmyk(0%, 56.1%, 3.7%, 26.7%)
CIE-LABlab(51.72, 55.03, -32.59)
CIE-LCHlch(51.72, 63.95, 329.36°)
OKLaboklab(60.68% 0.1556 -0.0893)
OKLCHoklch(60.68% 0.179 330.2)
XYZxyz(31.7488, 19.8967, 45.3394)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B4 #52BB59
analogous
#8D52BB #BB52B4 #BB527F
triadic
#BB52B4 #B4BB52 #52B4BB
tetradic
#BB52B4 #BB8D52 #52BB59 #527FBB
square
#BB52B4 #BB8D52 #52BB59 #527FBB
split-complementary
#BB52B4 #7FBB52 #52BB8D
monochromatic
#692965 #953B8F #BB52B4 #CC7EC7 #DEAADA

Accessibility & contrast

On white

4.22
#BB52B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BB52B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B4#FFFFFF#000000##000000
##BB52B41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B7
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#C15C7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb52b4;
/* rgb */ color: rgb(187, 82, 180);
/* oklch */ color: oklch(60.7% 0.179 330.2);
Tailwind
colors: {
  custom: {
    50: '#d288cb',
    500: '#bb52b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b4;
$custom-light: #d288cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b4",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 304,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.17944,
    "h": 330.2
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#BB52B4
secondary
#9ECBA1
accent
#D35D54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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