#BB54B4#BB54B4

#BB54B4 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.9% C 0.176 H 330.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB54B4
RGBrgb(187, 84, 180)
HSLhsl(304, 43%, 53%)
HSVhsv(304, 55%, 73%)
CMYKcmyk(0%, 55.1%, 3.7%, 26.7%)
CIE-LABlab(52.07, 54.09, -32.05)
CIE-LCHlch(52.07, 62.87, 329.35°)
OKLaboklab(60.93% 0.153 -0.0878)
OKLCHoklch(60.93% 0.176 330.1)
XYZxyz(31.9018, 20.2028, 45.3904)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54B4 #54BB5B
analogous
#8E54BB #BB54B4 #BB5480
triadic
#BB54B4 #B4BB54 #54B4BB
tetradic
#BB54B4 #BB8E54 #54BB5B #5480BB
square
#BB54B4 #BB8E54 #54BB5B #5480BB
split-complementary
#BB54B4 #80BB54 #54BB8E
monochromatic
#6A2A66 #963C90 #BB54B4 #CC80C7 #DEACDA

Accessibility & contrast

On white

4.17
#BB54B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BB54B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54B4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54B4#FFFFFF#000000##000000
##BB54B41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B7
Deuteranopia (green-blind)
#6E81B1
Tritanopia (blue-blind)
#C15E7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb54b4;
/* rgb */ color: rgb(187, 84, 180);
/* oklch */ color: oklch(60.9% 0.176 330.1);
Tailwind
colors: {
  custom: {
    50: '#d289cb',
    500: '#bb54b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb54b4;
$custom-light: #d289cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54b4",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 304.078,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.17636,
    "h": 330.1
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

primary
#BB54B4
secondary
#9FCCA2
accent
#D35D55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB54B4

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

Preview Lab → · Contrast checker → · Palette generator →

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