#BB54E9#BB54E9

#BB54E9 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.225 H 313.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BB54E9
RGBrgb(187, 84, 233)
HSLhsl(281, 77%, 62%)
HSVhsv(281, 64%, 91%)
CMYKcmyk(19.7%, 63.9%, 0%, 8.6%)
CIE-LABlab(54.86, 64.12, -57.89)
CIE-LCHlch(54.86, 86.39, 317.92°)
OKLaboklab(63.86% 0.1556 -0.1628)
OKLCHoklch(63.86% 0.225 313.7)
XYZxyz(38.3693, 22.7898, 79.4527)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54E9 #82E954
analogous
#7154E9 #BB54E9 #E954CC
triadic
#BB54E9 #E9BB54 #54E9BB
tetradic
#BB54E9 #E97154 #82E954 #54CCE9
square
#BB54E9 #E97154 #82E954 #54CCE9
split-complementary
#BB54E9 #CCE954 #54E971
monochromatic
#7E16AC #A51EE2 #BB54E9 #D18AF0 #E6C0F7

Accessibility & contrast

On white

3.78
#BB54E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#BB54E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54E9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54E9#FFFFFF#000000##000000
##BB54E91.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#077EEE
Deuteranopia (green-blind)
#4C86E6
Tritanopia (blue-blind)
#B77197
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb54e9;
/* rgb */ color: rgb(187, 84, 233);
/* oklch */ color: oklch(63.9% 0.225 313.7);
Tailwind
colors: {
  custom: {
    50: '#d38af1',
    500: '#bb54e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb54e9;
$custom-light: #d38af1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54e9",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 281.477,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63864,
    "c": 0.22524,
    "h": 313.7
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#BB54E9
secondary
#C2E8B1
accent
#D90C4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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