#BB54C1#BB54C1

#BB54C1 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.188 H 325.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB54C1
RGBrgb(187, 84, 193)
HSLhsl(297, 47%, 54%)
HSVhsv(297, 56%, 76%)
CMYKcmyk(3.1%, 56.5%, 0%, 24.3%)
CIE-LABlab(52.68, 56.40, -38.60)
CIE-LCHlch(52.68, 68.34, 325.61°)
OKLaboklab(61.59% 0.1545 -0.1066)
OKLCHoklch(61.59% 0.188 325.4)
XYZxyz(33.2887, 20.7576, 52.6949)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54C1 #5AC154
analogous
#8554C1 #BB54C1 #C15491
triadic
#BB54C1 #C1BB54 #54C1BB
tetradic
#BB54C1 #C18554 #5AC154 #5491C1
square
#BB54C1 #C18554 #5AC154 #5491C1
split-complementary
#BB54C1 #91C154 #54C185
monochromatic
#6D2971 #99399E #BB54C1 #CD81D1 #DFAEE2

Accessibility & contrast

On white

4.08
#BB54C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BB54C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54C1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54C1#FFFFFF#000000##000000
##BB54C11.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C4
Deuteranopia (green-blind)
#6882BE
Tritanopia (blue-blind)
#BF6283
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb54c1;
/* rgb */ color: rgb(187, 84, 193);
/* oklch */ color: oklch(61.6% 0.188 325.4);
Tailwind
colors: {
  custom: {
    50: '#d289d4',
    500: '#bb54c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb54c1;
$custom-light: #d289d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54c1",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 296.697,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.18777,
    "h": 325.4
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#BB54C1
secondary
#A4D0A1
accent
#D65159
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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