#BB54BC#BB54BC

#BB54BC is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.183 H 327.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BB54BC
RGBrgb(187, 84, 188)
HSLhsl(299, 44%, 53%)
HSVhsv(299, 55%, 74%)
CMYKcmyk(0.5%, 55.3%, 0%, 26.3%)
CIE-LABlab(52.44, 55.50, -36.10)
CIE-LCHlch(52.44, 66.21, 326.96°)
OKLaboklab(61.33% 0.154 -0.0994)
OKLCHoklch(61.33% 0.183 327.2)
XYZxyz(32.7404, 20.5382, 49.8070)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54BC #55BC54
analogous
#8754BC #BB54BC #BC5489
triadic
#BB54BC #BCBB54 #54BCBB
tetradic
#BB54BC #BC8754 #55BC54 #5489BC
square
#BB54BC #BC8754 #55BC54 #5489BC
split-complementary
#BB54BC #89BC54 #54BC87
monochromatic
#6B2A6B #973B97 #BB54BC #CC80CD #DEACDE

Accessibility & contrast

On white

4.11
#BB54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BB54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54BC#FFFFFF#000000##000000
##BB54BC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#C06080
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb54bc;
/* rgb */ color: rgb(187, 84, 188);
/* oklch */ color: oklch(61.3% 0.183 327.2);
Tailwind
colors: {
  custom: {
    50: '#d289d0',
    500: '#bb54bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb54bc;
$custom-light: #d289d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54bc",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 299.423,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.18331,
    "h": 327.2
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#BB54BC
secondary
#A0CCA0
accent
#D35456
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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