#BB52D9#BB52D9

#BB52D9 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.213 H 318.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB52D9
RGBrgb(187, 82, 217)
HSLhsl(287, 64%, 59%)
HSVhsv(287, 62%, 85%)
CMYKcmyk(13.8%, 62.2%, 0%, 14.9%)
CIE-LABlab(53.61, 61.83, -50.86)
CIE-LCHlch(53.61, 80.05, 320.56°)
OKLaboklab(62.67% 0.1582 -0.1422)
OKLCHoklch(62.67% 0.213 318)
XYZxyz(36.0335, 21.6106, 67.9054)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52D9 #70D952
analogous
#7752D9 #BB52D9 #D952B3
triadic
#BB52D9 #D9BB52 #52D9BB
tetradic
#BB52D9 #D97752 #70D952 #52B3D9
square
#BB52D9 #D97752 #70D952 #52B3D9
split-complementary
#BB52D9 #B3D952 #52D977
monochromatic
#782091 #A12BC3 #BB52D9 #CF84E4 #E2B6EF

Accessibility & contrast

On white

3.95
#BB52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BB52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52D9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52D9#FFFFFF#000000##000000
##BB52D91.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#5883D6
Tritanopia (blue-blind)
#BA698E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb52d9;
/* rgb */ color: rgb(187, 82, 217);
/* oklch */ color: oklch(62.7% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#d389e5',
    500: '#bb52d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb52d9;
$custom-light: #d389e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52d9",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 286.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.21274,
    "h": 318
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#BB52D9
secondary
#B5DEA9
accent
#E74166
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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