#BB54C5#BB54C5

#BB54C5 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.191 H 324.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB54C5
RGBrgb(187, 84, 197)
HSLhsl(295, 49%, 55%)
HSVhsv(295, 57%, 77%)
CMYKcmyk(5.1%, 57.4%, 0%, 22.7%)
CIE-LABlab(52.88, 57.13, -40.59)
CIE-LCHlch(52.88, 70.08, 324.60°)
OKLaboklab(61.8% 0.1549 -0.1124)
OKLCHoklch(61.8% 0.191 324)
XYZxyz(33.7410, 20.9385, 55.0768)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54C5 #5EC554
analogous
#8254C5 #BB54C5 #C55497
triadic
#BB54C5 #C5BB54 #54C5BB
tetradic
#BB54C5 #C58254 #5EC554 #5497C5
square
#BB54C5 #C58254 #5EC554 #5497C5
split-complementary
#BB54C5 #97C554 #54C582
monochromatic
#702876 #9B38A4 #BB54C5 #CD82D5 #DFAFE4

Accessibility & contrast

On white

4.05
#BB54C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BB54C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54C5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54C5#FFFFFF#000000##000000
##BB54C51.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4276C9
Deuteranopia (green-blind)
#6683C2
Tritanopia (blue-blind)
#BE6385
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb54c5;
/* rgb */ color: rgb(187, 84, 197);
/* oklch */ color: oklch(61.8% 0.191 324.0);
Tailwind
colors: {
  custom: {
    50: '#d28ad7',
    500: '#bb54c5',
    950: '#000000',
  },
}
SCSS
$custom: #bb54c5;
$custom-light: #d28ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54c5",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 294.69,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.19138,
    "h": 324
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#BB54C5
secondary
#A7D2A3
accent
#D94F5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB54C5

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

Preview Lab → · Contrast checker → · Palette generator →

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