#BB54BD#BB54BD

#BB54BD is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.184 H 326.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB54BD
RGBrgb(187, 84, 189)
HSLhsl(299, 44%, 54%)
HSVhsv(299, 56%, 74%)
CMYKcmyk(1.1%, 55.6%, 0%, 25.9%)
CIE-LABlab(52.49, 55.67, -36.60)
CIE-LCHlch(52.49, 66.63, 326.68°)
OKLaboklab(61.38% 0.1541 -0.1009)
OKLCHoklch(61.38% 0.184 326.8)
XYZxyz(32.8486, 20.5815, 50.3767)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54BD #56BD54
analogous
#8654BD #BB54BD #BD548A
triadic
#BB54BD #BDBB54 #54BDBB
tetradic
#BB54BD #BD8654 #56BD54 #548ABD
square
#BB54BD #BD8654 #56BD54 #548ABD
split-complementary
#BB54BD #8ABD54 #54BD86
monochromatic
#6B2A6D #973B99 #BB54BD #CD80CE #DEACDF

Accessibility & contrast

On white

4.10
#BB54BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BB54BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54BD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54BD#FFFFFF#000000##000000
##BB54BD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#C06181
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb54bd;
/* rgb */ color: rgb(187, 84, 189);
/* oklch */ color: oklch(61.4% 0.184 326.8);
Tailwind
colors: {
  custom: {
    50: '#d289d1',
    500: '#bb54bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb54bd;
$custom-light: #d289d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54bd",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 298.857,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.18419,
    "h": 326.8
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#BB54BD
secondary
#A1CDA0
accent
#D45456
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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