#BB54D9#BB54D9

#BB54D9 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 62.9% C 0.210 H 317.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BB54D9
RGBrgb(187, 84, 217)
HSLhsl(286, 64%, 59%)
HSVhsv(286, 61%, 85%)
CMYKcmyk(13.8%, 61.3%, 0%, 14.9%)
CIE-LABlab(53.94, 60.93, -50.33)
CIE-LCHlch(53.94, 79.03, 320.44°)
OKLaboklab(62.91% 0.1558 -0.1407)
OKLCHoklch(62.91% 0.21 317.9)
XYZxyz(36.1865, 21.9167, 67.9564)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54D9 #72D954
analogous
#7954D9 #BB54D9 #D954B5
triadic
#BB54D9 #D9BB54 #54D9BB
tetradic
#BB54D9 #D97954 #72D954 #54B5D9
square
#BB54D9 #D97954 #72D954 #54B5D9
split-complementary
#BB54D9 #B5D954 #54D979
monochromatic
#782092 #A22CC4 #BB54D9 #CF86E4 #E3B8EF

Accessibility & contrast

On white

3.90
#BB54D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BB54D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54D9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54D9#FFFFFF#000000##000000
##BB54D91.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#5984D6
Tritanopia (blue-blind)
#BA6B8F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb54d9;
/* rgb */ color: rgb(187, 84, 217);
/* oklch */ color: oklch(62.9% 0.210 317.9);
Tailwind
colors: {
  custom: {
    50: '#d38ae5',
    500: '#bb54d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb54d9;
$custom-light: #d38ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54d9",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 286.466,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62906,
    "c": 0.20997,
    "h": 317.9
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#BB54D9
secondary
#B6DFAA
accent
#E74166
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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