#BB52B7#BB52B7

#BB52B7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.182 H 329.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB52B7
RGBrgb(187, 82, 183)
HSLhsl(302, 44%, 53%)
HSVhsv(302, 56%, 73%)
CMYKcmyk(0%, 56.1%, 2.1%, 26.7%)
CIE-LABlab(51.86, 55.54, -34.11)
CIE-LCHlch(51.86, 65.18, 328.44°)
OKLaboklab(60.83% 0.156 -0.0937)
OKLCHoklch(60.83% 0.182 329)
XYZxyz(32.0577, 20.0203, 46.9664)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B7 #52BB56
analogous
#8B52BB #BB52B7 #BB5282
triadic
#BB52B7 #B7BB52 #52B7BB
tetradic
#BB52B7 #BB8B52 #52BB56 #5282BB
square
#BB52B7 #BB8B52 #52BB56 #5282BB
split-complementary
#BB52B7 #82BB52 #52BB8B
monochromatic
#692967 #953B92 #BB52B7 #CC7EC9 #DEAADC

Accessibility & contrast

On white

4.20
#BB52B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BB52B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B7#FFFFFF#000000##000000
##BB52B71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb52b7;
/* rgb */ color: rgb(187, 82, 183);
/* oklch */ color: oklch(60.8% 0.182 329.0);
Tailwind
colors: {
  custom: {
    50: '#d288cd',
    500: '#bb52b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b7;
$custom-light: #d288cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b7",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 302.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.182,
    "h": 329
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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