#BB54EA#BB54EA

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

Color values

HEX#BB54EA
RGBrgb(187, 84, 234)
HSLhsl(281, 78%, 62%)
HSVhsv(281, 64%, 92%)
CMYKcmyk(20.1%, 64.1%, 0%, 8.2%)
CIE-LABlab(54.91, 64.33, -58.36)
CIE-LCHlch(54.91, 86.85, 317.78°)
OKLaboklab(63.93% 0.1556 -0.1642)
OKLCHoklch(63.93% 0.226 313.5)
XYZxyz(38.5126, 22.8471, 80.2071)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54EA #83EA54
analogous
#7054EA #BB54EA #EA54CE
triadic
#BB54EA #EABB54 #54EABB
tetradic
#BB54EA #EA7054 #83EA54 #54CEEA
square
#BB54EA #EA7054 #83EA54 #54CEEA
split-complementary
#BB54EA #CEEA54 #54EA70
monochromatic
#7E15AE #A51DE3 #BB54EA #D18BF1 #E6C1F7

Accessibility & contrast

On white

3.77
#BB54EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BB54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54EA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54EA#FFFFFF#000000##000000
##BB54EA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEF
Deuteranopia (green-blind)
#4B86E6
Tritanopia (blue-blind)
#B67198
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb54ea;
/* rgb */ color: rgb(187, 84, 234);
/* oklch */ color: oklch(63.9% 0.226 313.5);
Tailwind
colors: {
  custom: {
    50: '#d38af1',
    500: '#bb54ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb54ea;
$custom-light: #d38af1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54ea",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 281.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63925,
    "c": 0.22621,
    "h": 313.5
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#BB54EA
secondary
#C3E8B2
accent
#DA0B4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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