#BB52DB#BB52DB

#BB52DB is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.215 H 317.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BB52DB
RGBrgb(187, 82, 219)
HSLhsl(286, 66%, 59%)
HSVhsv(286, 63%, 86%)
CMYKcmyk(14.6%, 62.6%, 0%, 14.1%)
CIE-LABlab(53.72, 62.22, -51.81)
CIE-LCHlch(53.72, 80.96, 320.21°)
OKLaboklab(62.79% 0.1582 -0.145)
OKLCHoklch(62.79% 0.215 317.5)
XYZxyz(36.2952, 21.7153, 69.2837)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52DB #72DB52
analogous
#7752DB #BB52DB #DB52B7
triadic
#BB52DB #DBBB52 #52DBBB
tetradic
#BB52DB #DB7752 #72DB52 #52B7DB
square
#BB52DB #DB7752 #72DB52 #52B7DB
split-complementary
#BB52DB #B7DB52 #52DB77
monochromatic
#781F94 #A229C6 #BB52DB #CF85E6 #E3B7F0

Accessibility & contrast

On white

3.93
#BB52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BB52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52DB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52DB#FFFFFF#000000##000000
##BB52DB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#5684D8
Tritanopia (blue-blind)
#BA6A8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb52db;
/* rgb */ color: rgb(187, 82, 219);
/* oklch */ color: oklch(62.8% 0.215 317.5);
Tailwind
colors: {
  custom: {
    50: '#d389e7',
    500: '#bb52db',
    950: '#000000',
  },
}
SCSS
$custom: #bb52db;
$custom-light: #d389e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52db",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 285.985,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.21462,
    "h": 317.5
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#BB52DB
secondary
#B6DFAA
accent
#E93F67
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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