#BB54BB#BB54BB

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

Color values

HEX#BB54BB
RGBrgb(187, 84, 187)
HSLhsl(300, 43%, 53%)
HSVhsv(300, 55%, 73%)
CMYKcmyk(0%, 55.1%, 0%, 26.7%)
CIE-LABlab(52.39, 55.32, -35.60)
CIE-LCHlch(52.39, 65.78, 327.24°)
OKLaboklab(61.28% 0.1539 -0.098)
OKLCHoklch(61.28% 0.182 327.5)
XYZxyz(32.6330, 20.4953, 49.2412)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54BB #54BB54
analogous
#8754BB #BB54BB #BB5487
triadic
#BB54BB #BBBB54 #54BBBB
tetradic
#BB54BB #BB8754 #54BB54 #5487BB
square
#BB54BB #BB8754 #54BB54 #5487BB
split-complementary
#BB54BB #87BB54 #54BB87
monochromatic
#6A2A6A #963C96 #BB54BB #CC80CC #DEACDE

Accessibility & contrast

On white

4.12
#BB54BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB54BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54BB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54BB#FFFFFF#000000##000000
##BB54BB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#C06080
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb54bb;
/* rgb */ color: rgb(187, 84, 187);
/* oklch */ color: oklch(61.3% 0.182 327.5);
Tailwind
colors: {
  custom: {
    50: '#d289d0',
    500: '#bb54bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb54bb;
$custom-light: #d289d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54bb",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.18243,
    "h": 327.5
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#BB54BB
secondary
#9FCC9F
accent
#D35555
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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