#BB54DE#BB54DE

#BB54DE is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.2% C 0.215 H 316.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BB54DE
RGBrgb(187, 84, 222)
HSLhsl(285, 68%, 60%)
HSVhsv(285, 62%, 87%)
CMYKcmyk(15.8%, 62.2%, 0%, 12.9%)
CIE-LABlab(54.22, 61.91, -52.72)
CIE-LCHlch(54.22, 81.32, 319.59°)
OKLaboklab(63.2% 0.1559 -0.1477)
OKLCHoklch(63.2% 0.215 316.5)
XYZxyz(36.8467, 22.1807, 71.4335)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54DE #77DE54
analogous
#7654DE #BB54DE #DE54BC
triadic
#BB54DE #DEBB54 #54DEBB
tetradic
#BB54DE #DE7654 #77DE54 #54BCDE
square
#BB54DE #DE7654 #77DE54 #54BCDE
split-complementary
#BB54DE #BCDE54 #54DE76
monochromatic
#7A1E9A #A328CD #BB54DE #CF87E8 #E4BBF2

Accessibility & contrast

On white

3.86
#BB54DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#BB54DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54DE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54DE#FFFFFF#000000##000000
##BB54DE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE2
Deuteranopia (green-blind)
#5685DB
Tritanopia (blue-blind)
#B96C92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb54de;
/* rgb */ color: rgb(187, 84, 222);
/* oklch */ color: oklch(63.2% 0.215 316.5);
Tailwind
colors: {
  custom: {
    50: '#d38ae9',
    500: '#bb54de',
    950: '#000000',
  },
}
SCSS
$custom: #bb54de;
$custom-light: #d38ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54de",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 284.783,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.21472,
    "h": 316.5
  },
  "luminance": 0.22179
}

Semantic roles & 50–950 ramp

primary
#BB54DE
secondary
#BAE1AC
accent
#EB3D69
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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