#BB54AA#BB54AA

#BB54AA is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.168 H 334.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB54AA
RGBrgb(187, 84, 170)
HSLhsl(310, 43%, 53%)
HSVhsv(310, 55%, 73%)
CMYKcmyk(0%, 55.1%, 9.1%, 26.7%)
CIE-LABlab(51.62, 52.40, -26.91)
CIE-LCHlch(51.62, 58.91, 332.82°)
OKLaboklab(60.46% 0.1513 -0.0731)
OKLCHoklch(60.46% 0.168 334.2)
XYZxyz(30.9196, 19.8099, 40.2176)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54AA #54BB65
analogous
#9854BB #BB54AA #BB5476
triadic
#BB54AA #AABB54 #54AABB
tetradic
#BB54AA #BB9854 #54BB65 #5476BB
square
#BB54AA #BB9854 #54BB65 #5476BB
split-complementary
#BB54AA #76BB54 #54BB98
monochromatic
#6A2A60 #963C87 #BB54AA #CC80C0 #DEACD6

Accessibility & contrast

On white

4.23
#BB54AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BB54AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54AA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54AA#FFFFFF#000000##000000
##BB54AA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#7281A7
Tritanopia (blue-blind)
#C35A77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb54aa;
/* rgb */ color: rgb(187, 84, 170);
/* oklch */ color: oklch(60.5% 0.168 334.2);
Tailwind
colors: {
  custom: {
    50: '#d289c3',
    500: '#bb54aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb54aa;
$custom-light: #d289c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54aa",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 309.903,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.16806,
    "h": 334.2
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#BB54AA
secondary
#9FCCA7
accent
#D36A55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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