#BB52BD#BB52BD

#BB52BD is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.187 H 326.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB52BD
RGBrgb(187, 82, 189)
HSLhsl(299, 45%, 53%)
HSVhsv(299, 57%, 74%)
CMYKcmyk(1.1%, 56.6%, 0%, 25.9%)
CIE-LABlab(52.15, 56.60, -37.14)
CIE-LCHlch(52.15, 67.70, 326.73°)
OKLaboklab(61.13% 0.1567 -0.1024)
OKLCHoklch(61.13% 0.187 326.8)
XYZxyz(32.6955, 20.2755, 50.3257)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52BD #54BD52
analogous
#8652BD #BB52BD #BD5289
triadic
#BB52BD #BDBB52 #52BDBB
tetradic
#BB52BD #BD8652 #54BD52 #5289BD
square
#BB52BD #BD8652 #54BD52 #5289BD
split-complementary
#BB52BD #89BD52 #52BD86
monochromatic
#6A296C #963A98 #BB52BD #CC7ECE #DEABDF

Accessibility & contrast

On white

4.15
#BB52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BB52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52BD#FFFFFF#000000##000000
##BB52BD1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C0
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#C05F80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb52bd;
/* rgb */ color: rgb(187, 82, 189);
/* oklch */ color: oklch(61.1% 0.187 326.8);
Tailwind
colors: {
  custom: {
    50: '#d288d1',
    500: '#bb52bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb52bd;
$custom-light: #d288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52bd",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 298.879,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.18721,
    "h": 326.8
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#BB52BD
secondary
#9FCC9E
accent
#D45356
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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