#BB52D4#BB52D4

#BB52D4 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.4% C 0.208 H 319.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB52D4
RGBrgb(187, 82, 212)
HSLhsl(288, 60%, 58%)
HSVhsv(288, 61%, 83%)
CMYKcmyk(11.8%, 61.3%, 0%, 16.9%)
CIE-LABlab(53.34, 60.86, -48.45)
CIE-LCHlch(53.34, 77.79, 321.48°)
OKLaboklab(62.38% 0.1581 -0.1352)
OKLCHoklch(62.38% 0.208 319.5)
XYZxyz(35.3930, 21.3544, 64.5321)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52D4 #6BD452
analogous
#7A52D4 #BB52D4 #D452AC
triadic
#BB52D4 #D4BB52 #52D4BB
tetradic
#BB52D4 #D47A52 #6BD452 #52ACD4
square
#BB52D4 #D47A52 #6BD452 #52ACD4
split-complementary
#BB52D4 #ACD452 #52D47A
monochromatic
#762289 #A02EBA #BB52D4 #CE83E0 #E2B4EC

Accessibility & contrast

On white

3.98
#BB52D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BB52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52D4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52D4#FFFFFF#000000##000000
##BB52D41.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D8
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#BB678C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb52d4;
/* rgb */ color: rgb(187, 82, 212);
/* oklch */ color: oklch(62.4% 0.208 319.5);
Tailwind
colors: {
  custom: {
    50: '#d389e2',
    500: '#bb52d4',
    950: '#000000',
  },
}
SCSS
$custom: #bb52d4;
$custom-light: #d389e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52d4",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 288.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62379,
    "c": 0.20807,
    "h": 319.5
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#BB52D4
secondary
#B1DBA7
accent
#E34463
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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