#BB54BE#BB54BE

#BB54BE is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.185 H 326.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB54BE
RGBrgb(187, 84, 190)
HSLhsl(298, 45%, 54%)
HSVhsv(298, 56%, 75%)
CMYKcmyk(1.6%, 55.8%, 0%, 25.5%)
CIE-LABlab(52.54, 55.85, -37.10)
CIE-LCHlch(52.54, 67.06, 326.40°)
OKLaboklab(61.43% 0.1542 -0.1023)
OKLCHoklch(61.43% 0.185 326.4)
XYZxyz(32.9575, 20.6251, 50.9503)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54BE #57BE54
analogous
#8654BE #BB54BE #BE548C
triadic
#BB54BE #BEBB54 #54BEBB
tetradic
#BB54BE #BE8654 #57BE54 #548CBE
square
#BB54BE #BE8654 #57BE54 #548CBE
split-complementary
#BB54BE #8CBE54 #54BE86
monochromatic
#6C2A6E #973B9A #BB54BE #CD80CF #DEADE0

Accessibility & contrast

On white

4.10
#BB54BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BB54BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54BE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54BE#FFFFFF#000000##000000
##BB54BE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C1
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#C06181
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb54be;
/* rgb */ color: rgb(187, 84, 190);
/* oklch */ color: oklch(61.4% 0.185 326.4);
Tailwind
colors: {
  custom: {
    50: '#d289d2',
    500: '#bb54be',
    950: '#000000',
  },
}
SCSS
$custom: #bb54be;
$custom-light: #d289d2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54be",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 298.302,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.18508,
    "h": 326.4
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#BB54BE
secondary
#A2CEA0
accent
#D55357
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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