#BB54DB#BB54DB

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

Color values

HEX#BB54DB
RGBrgb(187, 84, 219)
HSLhsl(286, 65%, 59%)
HSVhsv(286, 62%, 86%)
CMYKcmyk(14.6%, 61.6%, 0%, 14.1%)
CIE-LABlab(54.05, 61.32, -51.29)
CIE-LCHlch(54.05, 79.94, 320.09°)
OKLaboklab(63.02% 0.1559 -0.1435)
OKLCHoklch(63.02% 0.212 317.4)
XYZxyz(36.4482, 22.0213, 69.3347)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54DB #74DB54
analogous
#7854DB #BB54DB #DB54B7
triadic
#BB54DB #DBBB54 #54DBBB
tetradic
#BB54DB #DB7854 #74DB54 #54B7DB
square
#BB54DB #DB7854 #74DB54 #54B7DB
split-complementary
#BB54DB #B7DB54 #54DB78
monochromatic
#791F95 #A22AC8 #BB54DB #CF87E6 #E3B9F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB54DB#FFFFFF#000000##000000
##BB54DB1.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)
#2B7BDF
Deuteranopia (green-blind)
#5884D8
Tritanopia (blue-blind)
#BA6B90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb54db;
/* rgb */ color: rgb(187, 84, 219);
/* oklch */ color: oklch(63.0% 0.212 317.4);
Tailwind
colors: {
  custom: {
    50: '#d38ae7',
    500: '#bb54db',
    950: '#000000',
  },
}
SCSS
$custom: #bb54db;
$custom-light: #d38ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54db",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 285.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63022,
    "c": 0.21187,
    "h": 317.4
  },
  "luminance": 0.2202
}

Semantic roles & 50–950 ramp

primary
#BB54DB
secondary
#B8E0AB
accent
#E84068
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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