#BB54E8#BB54E8

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

Color values

HEX#BB54E8
RGBrgb(187, 84, 232)
HSLhsl(282, 76%, 62%)
HSVhsv(282, 64%, 91%)
CMYKcmyk(19.4%, 63.8%, 0%, 9%)
CIE-LABlab(54.80, 63.92, -57.43)
CIE-LCHlch(54.80, 85.93, 318.06°)
OKLaboklab(63.8% 0.1557 -0.1615)
OKLCHoklch(63.8% 0.224 314)
XYZxyz(38.2269, 22.7328, 78.7025)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54E8 #81E854
analogous
#7154E8 #BB54E8 #E854CB
triadic
#BB54E8 #E8BB54 #54E8BB
tetradic
#BB54E8 #E87154 #81E854 #54CBE8
square
#BB54E8 #E87154 #81E854 #54CBE8
split-complementary
#BB54E8 #CBE854 #54E871
monochromatic
#7E17AB #A51EE1 #BB54E8 #D08AEF #E6C0F7

Accessibility & contrast

On white

3.79
#BB54E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BB54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54E8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54E8#FFFFFF#000000##000000
##BB54E81.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEC
Deuteranopia (green-blind)
#4D86E5
Tritanopia (blue-blind)
#B77097
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb54e8;
/* rgb */ color: rgb(187, 84, 232);
/* oklch */ color: oklch(63.8% 0.224 314.0);
Tailwind
colors: {
  custom: {
    50: '#d38af0',
    500: '#bb54e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb54e8;
$custom-light: #d38af0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54e8",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 281.757,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.22428,
    "h": 314
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#BB54E8
secondary
#C1E7B1
accent
#D80D4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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