#BB54B7#BB54B7

#BB54B7 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.179 H 329.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB54B7
RGBrgb(187, 84, 183)
HSLhsl(302, 43%, 53%)
HSVhsv(302, 55%, 73%)
CMYKcmyk(0%, 55.1%, 2.1%, 26.7%)
CIE-LABlab(52.20, 54.61, -33.58)
CIE-LCHlch(52.20, 64.11, 328.42°)
OKLaboklab(61.08% 0.1534 -0.0922)
OKLCHoklch(61.08% 0.179 329)
XYZxyz(32.2107, 20.3264, 47.0174)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54B7 #54BB58
analogous
#8B54BB #BB54B7 #BB5483
triadic
#BB54B7 #B7BB54 #54B7BB
tetradic
#BB54B7 #BB8B54 #54BB58 #5483BB
square
#BB54B7 #BB8B54 #54BB58 #5483BB
split-complementary
#BB54B7 #83BB54 #54BB8B
monochromatic
#6A2A68 #963C93 #BB54B7 #CC80C9 #DEACDC

Accessibility & contrast

On white

4.15
#BB54B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB54B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54B7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54B7#FFFFFF#000000##000000
##BB54B71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#C15F7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb54b7;
/* rgb */ color: rgb(187, 84, 183);
/* oklch */ color: oklch(61.1% 0.179 329.0);
Tailwind
colors: {
  custom: {
    50: '#d289cd',
    500: '#bb54b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb54b7;
$custom-light: #d289cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54b7",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 183
  },
  "hsl": {
    "h": 302.33,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.17894,
    "h": 329
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#BB54B7
secondary
#9FCCA1
accent
#D35A55
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB54B7

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

Preview Lab → · Contrast checker → · Palette generator →

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