#BB54AF#BB54AF

#BB54AF is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.7% C 0.172 H 332.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB54AF
RGBrgb(187, 84, 175)
HSLhsl(307, 43%, 53%)
HSVhsv(307, 55%, 73%)
CMYKcmyk(0%, 55.1%, 6.4%, 26.7%)
CIE-LABlab(51.84, 53.24, -29.49)
CIE-LCHlch(51.84, 60.86, 331.02°)
OKLaboklab(60.69% 0.1522 -0.0805)
OKLCHoklch(60.69% 0.172 332.1)
XYZxyz(31.4016, 20.0027, 42.7561)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54AF #54BB60
analogous
#9354BB #BB54AF #BB547B
triadic
#BB54AF #AFBB54 #54AFBB
tetradic
#BB54AF #BB9354 #54BB60 #547BBB
square
#BB54AF #BB9354 #54BB60 #547BBB
split-complementary
#BB54AF #7BBB54 #54BB93
monochromatic
#6A2A63 #963C8C #BB54AF #CC80C3 #DEACD8

Accessibility & contrast

On white

4.20
#BB54AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BB54AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54AF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54AF#FFFFFF#000000##000000
##BB54AF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#C25C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb54af;
/* rgb */ color: rgb(187, 84, 175);
/* oklch */ color: oklch(60.7% 0.172 332.1);
Tailwind
colors: {
  custom: {
    50: '#d289c7',
    500: '#bb54af',
    950: '#000000',
  },
}
SCSS
$custom: #bb54af;
$custom-light: #d289c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54af",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 306.99,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60691,
    "c": 0.17215,
    "h": 332.1
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#BB54AF
secondary
#9FCCA4
accent
#D36455
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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