#BB56BA#BB56BA

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

Color values

HEX#BB56BA
RGBrgb(187, 86, 186)
HSLhsl(301, 43%, 54%)
HSVhsv(301, 54%, 73%)
CMYKcmyk(0%, 54%, 0.5%, 26.7%)
CIE-LABlab(52.69, 54.20, -34.55)
CIE-LCHlch(52.69, 64.27, 327.49°)
OKLaboklab(61.48% 0.1511 -0.095)
OKLCHoklch(61.48% 0.178 327.9)
XYZxyz(32.6837, 20.7675, 48.7319)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56BA #56BB57
analogous
#8956BB #BB56BA #BB5687
triadic
#BB56BA #BABB56 #56BABB
tetradic
#BB56BA #BB8956 #56BB57 #5687BB
square
#BB56BA #BB8956 #56BB57 #5687BB
split-complementary
#BB56BA #87BB56 #56BB89
monochromatic
#6B2B6B #973D96 #BB56BA #CD82CC #DEADDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB56BA#FFFFFF#000000##000000
##BB56BA1.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)
#4C75BD
Deuteranopia (green-blind)
#6C82B7
Tritanopia (blue-blind)
#C06180
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb56ba;
/* rgb */ color: rgb(187, 86, 186);
/* oklch */ color: oklch(61.5% 0.178 327.9);
Tailwind
colors: {
  custom: {
    50: '#d28acf',
    500: '#bb56ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ba;
$custom-light: #d28acf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ba",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 300.594,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61483,
    "c": 0.17847,
    "h": 327.9
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#BB56BA
secondary
#A1CCA1
accent
#D25755
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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