#BB52DF#BB52DF

#BB52DF is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.218 H 316.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BB52DF
RGBrgb(187, 82, 223)
HSLhsl(285, 69%, 60%)
HSVhsv(285, 63%, 87%)
CMYKcmyk(16.1%, 63.2%, 0%, 12.5%)
CIE-LABlab(53.95, 63.00, -53.71)
CIE-LCHlch(53.95, 82.79, 319.55°)
OKLaboklab(63.02% 0.1582 -0.1506)
OKLCHoklch(63.02% 0.218 316.4)
XYZxyz(36.8281, 21.9285, 72.0904)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52DF #76DF52
analogous
#7552DF #BB52DF #DF52BC
triadic
#BB52DF #DFBB52 #52DFBB
tetradic
#BB52DF #DF7552 #76DF52 #52BCDF
square
#BB52DF #DF7552 #76DF52 #52BCDF
split-complementary
#BB52DF #BCDF52 #52DF75
monochromatic
#7A1D9A #A326CE #BB52DF #CF86E9 #E4B9F2

Accessibility & contrast

On white

3.90
#BB52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BB52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52DF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52DF#FFFFFF#000000##000000
##BB52DF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7BE3
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#B96C91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb52df;
/* rgb */ color: rgb(187, 82, 223);
/* oklch */ color: oklch(63.0% 0.218 316.4);
Tailwind
colors: {
  custom: {
    50: '#d389ea',
    500: '#bb52df',
    950: '#000000',
  },
}
SCSS
$custom: #bb52df;
$custom-light: #d389ea;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52df",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 284.681,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63024,
    "c": 0.21838,
    "h": 316.4
  },
  "luminance": 0.21927
}

Semantic roles & 50–950 ramp

primary
#BB52DF
secondary
#B9E2AB
accent
#EC3C69
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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