#BB52E1#BB52E1

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

Color values

HEX#BB52E1
RGBrgb(187, 82, 225)
HSLhsl(284, 70%, 60%)
HSVhsv(284, 64%, 88%)
CMYKcmyk(16.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(54.07, 63.40, -54.66)
CIE-LCHlch(54.07, 83.71, 319.24°)
OKLaboklab(63.14% 0.1581 -0.1533)
OKLCHoklch(63.14% 0.22 315.9)
XYZxyz(37.0993, 22.0370, 73.5189)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52E1 #78E152
analogous
#7452E1 #BB52E1 #E152BF
triadic
#BB52E1 #E1BB52 #52E1BB
tetradic
#BB52E1 #E17452 #78E152 #52BFE1
square
#BB52E1 #E17452 #78E152 #52BFE1
split-complementary
#BB52E1 #BFE152 #52E174
monochromatic
#7B1B9D #A324D1 #BB52E1 #D086EA #E4BAF3

Accessibility & contrast

On white

3.88
#BB52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BB52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52E1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52E1#FFFFFF#000000##000000
##BB52E11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb52e1;
/* rgb */ color: rgb(187, 82, 225);
/* oklch */ color: oklch(63.1% 0.220 315.9);
Tailwind
colors: {
  custom: {
    50: '#d389eb',
    500: '#bb52e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb52e1;
$custom-light: #d389eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52e1",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 284.056,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63144,
    "c": 0.22027,
    "h": 315.9
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#BB52E1
secondary
#BBE3AC
accent
#D21346
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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