#BB52BA#BB52BA

#BB52BA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.185 H 327.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB52BA
RGBrgb(187, 82, 186)
HSLhsl(301, 44%, 53%)
HSVhsv(301, 56%, 73%)
CMYKcmyk(0%, 56.1%, 0.5%, 26.7%)
CIE-LABlab(52.00, 56.07, -35.63)
CIE-LCHlch(52.00, 66.43, 327.56°)
OKLaboklab(60.98% 0.1564 -0.098)
OKLCHoklch(60.98% 0.185 327.9)
XYZxyz(32.3733, 20.1465, 48.6284)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52BA #52BB53
analogous
#8752BB #BB52BA #BB5286
triadic
#BB52BA #BABB52 #52BABB
tetradic
#BB52BA #BB8752 #52BB53 #5286BB
square
#BB52BA #BB8752 #52BB53 #5286BB
split-complementary
#BB52BA #86BB52 #52BB87
monochromatic
#692969 #953B94 #BB52BA #CC7ECC #DEAADD

Accessibility & contrast

On white

4.18
#BB52BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BB52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52BA#FFFFFF#000000##000000
##BB52BA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#C05E7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb52ba;
/* rgb */ color: rgb(187, 82, 186);
/* oklch */ color: oklch(61.0% 0.185 327.9);
Tailwind
colors: {
  custom: {
    50: '#d288cf',
    500: '#bb52ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb52ba;
$custom-light: #d288cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52ba",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 300.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.18459,
    "h": 327.9
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#BB52BA
secondary
#9ECB9E
accent
#D35654
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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