#BB52E9#BB52E9

#BB52E9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.228 H 313.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BB52E9
RGBrgb(187, 82, 233)
HSLhsl(282, 77%, 62%)
HSVhsv(282, 65%, 91%)
CMYKcmyk(19.7%, 64.8%, 0%, 8.6%)
CIE-LABlab(54.54, 65.00, -58.40)
CIE-LCHlch(54.54, 87.39, 318.06°)
OKLaboklab(63.63% 0.1579 -0.1643)
OKLCHoklch(63.63% 0.228 313.9)
XYZxyz(38.2163, 22.4838, 79.4017)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52E9 #80E952
analogous
#7052E9 #BB52E9 #E952CC
triadic
#BB52E9 #E9BB52 #52E9BB
tetradic
#BB52E9 #E97052 #80E952 #52CCE9
square
#BB52E9 #E97052 #80E952 #52CCE9
split-complementary
#BB52E9 #CCE952 #52E970
monochromatic
#7D16AB #A51DE1 #BB52E9 #D088F0 #E6BFF7

Accessibility & contrast

On white

3.82
#BB52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BB52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52E9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52E9#FFFFFF#000000##000000
##BB52E91.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4A85E5
Tritanopia (blue-blind)
#B76F97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb52e9;
/* rgb */ color: rgb(187, 82, 233);
/* oklch */ color: oklch(63.6% 0.228 313.9);
Tailwind
colors: {
  custom: {
    50: '#d389f1',
    500: '#bb52e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb52e9;
$custom-light: #d389f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52e9",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 281.722,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63634,
    "c": 0.22786,
    "h": 313.9
  },
  "luminance": 0.22483
}

Semantic roles & 50–950 ramp

primary
#BB52E9
secondary
#C0E7AF
accent
#DA0C4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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