#BB52E0#BB52E0

#BB52E0 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.1% C 0.219 H 316.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BB52E0
RGBrgb(187, 82, 224)
HSLhsl(284, 70%, 60%)
HSVhsv(284, 63%, 88%)
CMYKcmyk(16.5%, 63.4%, 0%, 12.2%)
CIE-LABlab(54.01, 63.20, -54.18)
CIE-LCHlch(54.01, 83.25, 319.39°)
OKLaboklab(63.08% 0.1582 -0.152)
OKLCHoklch(63.08% 0.219 316.1)
XYZxyz(36.9633, 21.9826, 72.8025)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52E0 #77E052
analogous
#7452E0 #BB52E0 #E052BE
triadic
#BB52E0 #E0BB52 #52E0BB
tetradic
#BB52E0 #E07452 #77E052 #52BEE0
square
#BB52E0 #E07452 #77E052 #52BEE0
split-complementary
#BB52E0 #BEE052 #52E074
monochromatic
#7A1C9C #A325D0 #BB52E0 #CF86E9 #E4BAF3

Accessibility & contrast

On white

3.89
#BB52E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#BB52E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52E0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52E0#FFFFFF#000000##000000
##BB52E01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7BE4
Deuteranopia (green-blind)
#5284DD
Tritanopia (blue-blind)
#B96C92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb52e0;
/* rgb */ color: rgb(187, 82, 224);
/* oklch */ color: oklch(63.1% 0.219 316.1);
Tailwind
colors: {
  custom: {
    50: '#d389ea',
    500: '#bb52e0',
    950: '#000000',
  },
}
SCSS
$custom: #bb52e0;
$custom-light: #d389ea;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52e0",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 284.366,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.21932,
    "h": 316.1
  },
  "luminance": 0.21981
}

Semantic roles & 50–950 ramp

primary
#BB52E0
secondary
#BAE2AC
accent
#EC3B6A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52E0

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

Preview Lab → · Contrast checker → · Palette generator →

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