#BB52DE#BB52DE

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

Color values

HEX#BB52DE
RGBrgb(187, 82, 222)
HSLhsl(285, 68%, 60%)
HSVhsv(285, 63%, 87%)
CMYKcmyk(15.8%, 63.1%, 0%, 12.9%)
CIE-LABlab(53.89, 62.81, -53.24)
CIE-LCHlch(53.89, 82.33, 319.71°)
OKLaboklab(62.96% 0.1582 -0.1492)
OKLCHoklch(62.96% 0.217 316.7)
XYZxyz(36.6937, 21.8747, 71.3824)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52DE #75DE52
analogous
#7552DE #BB52DE #DE52BB
triadic
#BB52DE #DEBB52 #52DEBB
tetradic
#BB52DE #DE7552 #75DE52 #52BBDE
square
#BB52DE #DE7552 #75DE52 #52BBDE
split-complementary
#BB52DE #BBDE52 #52DE75
monochromatic
#7A1D99 #A327CC #BB52DE #CF85E8 #E3B9F2

Accessibility & contrast

On white

3.91
#BB52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BB52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52DE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52DE#FFFFFF#000000##000000
##BB52DE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#217AE2
Deuteranopia (green-blind)
#5484DB
Tritanopia (blue-blind)
#B96B91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb52de;
/* rgb */ color: rgb(187, 82, 222);
/* oklch */ color: oklch(63.0% 0.217 316.7);
Tailwind
colors: {
  custom: {
    50: '#d389e9',
    500: '#bb52de',
    950: '#000000',
  },
}
SCSS
$custom: #bb52de;
$custom-light: #d389e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52de",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 285,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62964,
    "c": 0.21744,
    "h": 316.7
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#BB52DE
secondary
#B8E1AB
accent
#EB3D68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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