#BB54D7#BB54D7

#BB54D7 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.208 H 318.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB54D7
RGBrgb(187, 84, 215)
HSLhsl(287, 62%, 59%)
HSVhsv(287, 61%, 84%)
CMYKcmyk(13%, 60.9%, 0%, 15.7%)
CIE-LABlab(53.83, 60.54, -49.37)
CIE-LCHlch(53.83, 78.12, 320.80°)
OKLaboklab(62.79% 0.1558 -0.1379)
OKLCHoklch(62.79% 0.208 318.5)
XYZxyz(35.9279, 21.8132, 66.5947)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54D7 #70D754
analogous
#7954D7 #BB54D7 #D754B1
triadic
#BB54D7 #D7BB54 #54D7BB
tetradic
#BB54D7 #D77954 #70D754 #54B1D7
square
#BB54D7 #D77954 #70D754 #54B1D7
split-complementary
#BB54D7 #B1D754 #54D779
monochromatic
#78218F #A12DC1 #BB54D7 #CF86E3 #E2B7EE

Accessibility & contrast

On white

3.92
#BB54D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#BB54D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54D7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54D7#FFFFFF#000000##000000
##BB54D71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#5B84D4
Tritanopia (blue-blind)
#BB6A8E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb54d7;
/* rgb */ color: rgb(187, 84, 215);
/* oklch */ color: oklch(62.8% 0.208 318.5);
Tailwind
colors: {
  custom: {
    50: '#d38ae4',
    500: '#bb54d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb54d7;
$custom-light: #d38ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54d7",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 287.176,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.20808,
    "h": 318.5
  },
  "luminance": 0.21812
}

Semantic roles & 50–950 ramp

primary
#BB54D7
secondary
#B5DDA9
accent
#E54365
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BB54D7

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

Preview Lab → · Contrast checker → · Palette generator →

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