#BB52B6#BB52B6

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

Color values

HEX#BB52B6
RGBrgb(187, 82, 182)
HSLhsl(303, 44%, 53%)
HSVhsv(303, 56%, 73%)
CMYKcmyk(0%, 56.1%, 2.7%, 26.7%)
CIE-LABlab(51.81, 55.37, -33.61)
CIE-LCHlch(51.81, 64.77, 328.74°)
OKLaboklab(60.78% 0.1559 -0.0922)
OKLCHoklch(60.78% 0.181 329.4)
XYZxyz(31.9540, 19.9788, 46.4201)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B6 #52BB57
analogous
#8B52BB #BB52B6 #BB5282
triadic
#BB52B6 #B6BB52 #52B6BB
tetradic
#BB52B6 #BB8B52 #52BB57 #5282BB
square
#BB52B6 #BB8B52 #52BB57 #5282BB
split-complementary
#BB52B6 #82BB52 #52BB8B
monochromatic
#692966 #953B91 #BB52B6 #CC7EC9 #DEAADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB52B6#FFFFFF#000000##000000
##BB52B61.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)
#4A72B9
Deuteranopia (green-blind)
#6C81B3
Tritanopia (blue-blind)
#C15D7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb52b6;
/* rgb */ color: rgb(187, 82, 182);
/* oklch */ color: oklch(60.8% 0.181 329.4);
Tailwind
colors: {
  custom: {
    50: '#d288cc',
    500: '#bb52b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b6;
$custom-light: #d288cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b6",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 302.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.18114,
    "h": 329.4
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#BB52B6
secondary
#9ECBA0
accent
#D35B54
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52B6

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

Preview Lab → · Contrast checker → · Palette generator →

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