#BB56BB#BB56BB

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

Color values

HEX#BB56BB
RGBrgb(187, 86, 187)
HSLhsl(300, 43%, 54%)
HSVhsv(300, 54%, 73%)
CMYKcmyk(0%, 54%, 0%, 26.7%)
CIE-LABlab(52.74, 54.38, -35.05)
CIE-LCHlch(52.74, 64.70, 327.19°)
OKLaboklab(61.53% 0.1512 -0.0964)
OKLCHoklch(61.53% 0.179 327.5)
XYZxyz(32.7904, 20.8102, 49.2937)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56BB #56BB56
analogous
#8856BB #BB56BB #BB5688
triadic
#BB56BB #BBBB56 #56BBBB
tetradic
#BB56BB #BB8856 #56BB56 #5688BB
square
#BB56BB #BB8856 #56BB56 #5688BB
split-complementary
#BB56BB #88BB56 #56BB88
monochromatic
#6B2B6B #973D97 #BB56BB #CD82CD #DEADDE

Accessibility & contrast

On white

4.07
#BB56BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BB56BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56BB#FFFFFF#000000##000000
##BB56BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#C06281
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb56bb;
/* rgb */ color: rgb(187, 86, 187);
/* oklch */ color: oklch(61.5% 0.179 327.5);
Tailwind
colors: {
  custom: {
    50: '#d28ad0',
    500: '#bb56bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb56bb;
$custom-light: #d28ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56bb",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.17936,
    "h": 327.5
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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