#BB54BA#BB54BA

#BB54BA is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.2% C 0.182 H 327.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB54BA
RGBrgb(187, 84, 186)
HSLhsl(301, 43%, 53%)
HSVhsv(301, 55%, 73%)
CMYKcmyk(0%, 55.1%, 0.5%, 26.7%)
CIE-LABlab(52.35, 55.14, -35.09)
CIE-LCHlch(52.35, 65.36, 327.53°)
OKLaboklab(61.23% 0.1538 -0.0965)
OKLCHoklch(61.23% 0.182 327.9)
XYZxyz(32.5263, 20.4526, 48.6794)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54BA #54BB55
analogous
#8954BB #BB54BA #BB5486
triadic
#BB54BA #BABB54 #54BABB
tetradic
#BB54BA #BB8954 #54BB55 #5486BB
square
#BB54BA #BB8954 #54BB55 #5486BB
split-complementary
#BB54BA #86BB54 #54BB89
monochromatic
#6A2A6A #963C95 #BB54BA #CC80CC #DEACDD

Accessibility & contrast

On white

4.13
#BB54BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BB54BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54BA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54BA#FFFFFF#000000##000000
##BB54BA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#C0607F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb54ba;
/* rgb */ color: rgb(187, 84, 186);
/* oklch */ color: oklch(61.2% 0.182 327.9);
Tailwind
colors: {
  custom: {
    50: '#d289cf',
    500: '#bb54ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb54ba;
$custom-light: #d289cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54ba",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 300.583,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.18155,
    "h": 327.9
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#BB54BA
secondary
#9FCCA0
accent
#D35655
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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