#BB52B3#BB52B3

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

Color values

HEX#BB52B3
RGBrgb(187, 82, 179)
HSLhsl(305, 44%, 53%)
HSVhsv(305, 56%, 73%)
CMYKcmyk(0%, 56.1%, 4.3%, 26.7%)
CIE-LABlab(51.67, 54.85, -32.08)
CIE-LCHlch(51.67, 63.55, 329.68°)
OKLaboklab(60.63% 0.1555 -0.0878)
OKLCHoklch(60.63% 0.179 330.5)
XYZxyz(31.6473, 19.8561, 44.8048)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B3 #52BB5A
analogous
#8E52BB #BB52B3 #BB527F
triadic
#BB52B3 #B3BB52 #52B3BB
tetradic
#BB52B3 #BB8E52 #52BB5A #527FBB
square
#BB52B3 #BB8E52 #52BB5A #527FBB
split-complementary
#BB52B3 #7FBB52 #52BB8E
monochromatic
#692964 #953B8E #BB52B3 #CC7EC6 #DEAADA

Accessibility & contrast

On white

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

On black

4.97
#BB52B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B3#FFFFFF#000000##000000
##BB52B31.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#C25C7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb52b3;
/* rgb */ color: rgb(187, 82, 179);
/* oklch */ color: oklch(60.6% 0.179 330.5);
Tailwind
colors: {
  custom: {
    50: '#d288ca',
    500: '#bb52b3',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b3;
$custom-light: #d288ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b3",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 304.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.17859,
    "h": 330.5
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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