#BB54B2#BB54B2

#BB54B2 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.175 H 330.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB54B2
RGBrgb(187, 84, 178)
HSLhsl(305, 43%, 53%)
HSVhsv(305, 55%, 73%)
CMYKcmyk(0%, 55.1%, 4.8%, 26.7%)
CIE-LABlab(51.97, 53.75, -31.03)
CIE-LCHlch(51.97, 62.06, 330.00°)
OKLaboklab(60.83% 0.1527 -0.0849)
OKLCHoklch(60.83% 0.175 330.9)
XYZxyz(31.6995, 20.1219, 44.3251)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54B2 #54BB5D
analogous
#9054BB #BB54B2 #BB547E
triadic
#BB54B2 #B2BB54 #54B2BB
tetradic
#BB54B2 #BB9054 #54BB5D #547EBB
square
#BB54B2 #BB9054 #54BB5D #547EBB
split-complementary
#BB54B2 #7EBB54 #54BB90
monochromatic
#6A2A65 #963C8E #BB54B2 #CC80C6 #DEACD9

Accessibility & contrast

On white

4.18
#BB54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BB54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54B2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54B2#FFFFFF#000000##000000
##BB54B21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#C25D7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb54b2;
/* rgb */ color: rgb(187, 84, 178);
/* oklch */ color: oklch(60.8% 0.175 330.9);
Tailwind
colors: {
  custom: {
    50: '#d289c9',
    500: '#bb54b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb54b2;
$custom-light: #d289c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54b2",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 305.243,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.17466,
    "h": 330.9
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#BB54B2
secondary
#9FCCA3
accent
#D36055
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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