#BB56B2#BB56B2

#BB56B2 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.1% C 0.172 H 330.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB56B2
RGBrgb(187, 86, 178)
HSLhsl(305, 43%, 54%)
HSVhsv(305, 54%, 73%)
CMYKcmyk(0%, 54%, 4.8%, 26.7%)
CIE-LABlab(52.33, 52.80, -30.48)
CIE-LCHlch(52.33, 60.97, 330.00°)
OKLaboklab(61.09% 0.15 -0.0833)
OKLCHoklch(61.09% 0.172 330.9)
XYZxyz(31.8570, 20.4368, 44.3776)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56B2 #56BB5F
analogous
#9156BB #BB56B2 #BB567F
triadic
#BB56B2 #B2BB56 #56B2BB
tetradic
#BB56B2 #BB9156 #56BB5F #567FBB
square
#BB56B2 #BB9156 #56BB5F #567FBB
split-complementary
#BB56B2 #7FBB56 #56BB91
monochromatic
#6B2B66 #973D8F #BB56B2 #CD82C6 #DEADDA

Accessibility & contrast

On white

4.13
#BB56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BB56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56B2#FFFFFF#000000##000000
##BB56B21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#C25F7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb56b2;
/* rgb */ color: rgb(187, 86, 178);
/* oklch */ color: oklch(61.1% 0.172 330.9);
Tailwind
colors: {
  custom: {
    50: '#d28ac9',
    500: '#bb56b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb56b2;
$custom-light: #d28ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56b2",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 305.347,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.17154,
    "h": 330.9
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#BB56B2
secondary
#A1CCA5
accent
#D26155
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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