#BB52DA#BB52DA

#BB52DA is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.7% C 0.214 H 317.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB52DA
RGBrgb(187, 82, 218)
HSLhsl(286, 65%, 59%)
HSVhsv(286, 62%, 85%)
CMYKcmyk(14.2%, 62.4%, 0%, 14.5%)
CIE-LABlab(53.67, 62.02, -51.33)
CIE-LCHlch(53.67, 80.51, 320.39°)
OKLaboklab(62.73% 0.1582 -0.1436)
OKLCHoklch(62.73% 0.214 317.8)
XYZxyz(36.1639, 21.6628, 68.5925)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52DA #71DA52
analogous
#7752DA #BB52DA #DA52B5
triadic
#BB52DA #DABB52 #52DABB
tetradic
#BB52DA #DA7752 #71DA52 #52B5DA
square
#BB52DA #DA7752 #71DA52 #52B5DA
split-complementary
#BB52DA #B5DA52 #52DA77
monochromatic
#781F92 #A12AC5 #BB52DA #CF84E5 #E3B7F0

Accessibility & contrast

On white

3.94
#BB52DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#BB52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52DA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52DA#FFFFFF#000000##000000
##BB52DA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DE
Deuteranopia (green-blind)
#5784D7
Tritanopia (blue-blind)
#BA6A8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb52da;
/* rgb */ color: rgb(187, 82, 218);
/* oklch */ color: oklch(62.7% 0.214 317.8);
Tailwind
colors: {
  custom: {
    50: '#d389e6',
    500: '#bb52da',
    950: '#000000',
  },
}
SCSS
$custom: #bb52da;
$custom-light: #d389e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52da",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 286.324,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.21368,
    "h": 317.8
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#BB52DA
secondary
#B5DFA9
accent
#E84066
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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