#BB52AA#BB52AA

#BB52AA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.171 H 334.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB52AA
RGBrgb(187, 82, 170)
HSLhsl(310, 44%, 53%)
HSVhsv(310, 56%, 73%)
CMYKcmyk(0%, 56.1%, 9.1%, 26.7%)
CIE-LABlab(51.27, 53.34, -27.45)
CIE-LCHlch(51.27, 59.99, 332.77°)
OKLaboklab(60.2% 0.1541 -0.0746)
OKLCHoklch(60.2% 0.171 334.1)
XYZxyz(30.7666, 19.5039, 40.1666)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52AA #52BB63
analogous
#9752BB #BB52AA #BB5276
triadic
#BB52AA #AABB52 #52AABB
tetradic
#BB52AA #BB9752 #52BB63 #5276BB
square
#BB52AA #BB9752 #52BB63 #5276BB
split-complementary
#BB52AA #76BB52 #52BB97
monochromatic
#69295F #953B87 #BB52AA #CC7EC0 #DEAAD5

Accessibility & contrast

On white

4.29
#BB52AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BB52AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52AA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52AA#FFFFFF#000000##000000
##BB52AA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AD
Deuteranopia (green-blind)
#7080A7
Tritanopia (blue-blind)
#C35977
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb52aa;
/* rgb */ color: rgb(187, 82, 170);
/* oklch */ color: oklch(60.2% 0.171 334.1);
Tailwind
colors: {
  custom: {
    50: '#d288c3',
    500: '#bb52aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb52aa;
$custom-light: #d288c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52aa",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 309.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.602,
    "c": 0.17119,
    "h": 334.1
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#BB52AA
secondary
#9ECBA5
accent
#D36954
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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