#BB52E8#BB52E8

#BB52E8 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.6% C 0.227 H 314.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BB52E8
RGBrgb(187, 82, 232)
HSLhsl(282, 77%, 62%)
HSVhsv(282, 65%, 91%)
CMYKcmyk(19.4%, 64.7%, 0%, 9%)
CIE-LABlab(54.48, 64.80, -57.94)
CIE-LCHlch(54.48, 86.93, 318.20°)
OKLaboklab(63.57% 0.1579 -0.163)
OKLCHoklch(63.57% 0.227 314.1)
XYZxyz(38.0739, 22.4268, 78.6515)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52E8 #7FE852
analogous
#7052E8 #BB52E8 #E852CA
triadic
#BB52E8 #E8BB52 #52E8BB
tetradic
#BB52E8 #E87052 #7FE852 #52CAE8
square
#BB52E8 #E87052 #7FE852 #52CAE8
split-complementary
#BB52E8 #CAE852 #52E870
monochromatic
#7D16A9 #A51EDF #BB52E8 #D088EF #E5BEF6

Accessibility & contrast

On white

3.83
#BB52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BB52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52E8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52E8#FFFFFF#000000##000000
##BB52E81.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#4B85E4
Tritanopia (blue-blind)
#B76F96
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb52e8;
/* rgb */ color: rgb(187, 82, 232);
/* oklch */ color: oklch(63.6% 0.227 314.1);
Tailwind
colors: {
  custom: {
    50: '#d389f0',
    500: '#bb52e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb52e8;
$custom-light: #d389f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52e8",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 282,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63572,
    "c": 0.2269,
    "h": 314.1
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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