#BB52B5#BB52B5

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

Color values

HEX#BB52B5
RGBrgb(187, 82, 181)
HSLhsl(303, 44%, 53%)
HSVhsv(303, 56%, 73%)
CMYKcmyk(0%, 56.1%, 3.2%, 26.7%)
CIE-LABlab(51.77, 55.20, -33.10)
CIE-LCHlch(51.77, 64.36, 329.05°)
OKLaboklab(60.73% 0.1558 -0.0908)
OKLCHoklch(60.73% 0.18 329.8)
XYZxyz(31.8510, 19.9376, 45.8778)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B5 #52BB58
analogous
#8D52BB #BB52B5 #BB5280
triadic
#BB52B5 #B5BB52 #52B5BB
tetradic
#BB52B5 #BB8D52 #52BB58 #5280BB
square
#BB52B5 #BB8D52 #52BB58 #5280BB
split-complementary
#BB52B5 #80BB52 #52BB8D
monochromatic
#692966 #953B90 #BB52B5 #CC7EC8 #DEAADB

Accessibility & contrast

On white

4.21
#BB52B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BB52B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B5#FFFFFF#000000##000000
##BB52B51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#6C81B2
Tritanopia (blue-blind)
#C15C7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb52b5;
/* rgb */ color: rgb(187, 82, 181);
/* oklch */ color: oklch(60.7% 0.180 329.8);
Tailwind
colors: {
  custom: {
    50: '#d288cb',
    500: '#bb52b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b5;
$custom-light: #d288cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b5",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 303.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.18029,
    "h": 329.8
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#BB52B5
secondary
#9ECBA0
accent
#D35C54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52B5

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

Preview Lab → · Contrast checker → · Palette generator →

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