#BB56AF#BB56AF

#BB56AF is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.0% C 0.169 H 332.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB56AF
RGBrgb(187, 86, 175)
HSLhsl(307, 43%, 54%)
HSVhsv(307, 54%, 73%)
CMYKcmyk(0%, 54%, 6.4%, 26.7%)
CIE-LABlab(52.19, 52.29, -28.94)
CIE-LCHlch(52.19, 59.76, 331.04°)
OKLaboklab(60.95% 0.1495 -0.0789)
OKLCHoklch(60.95% 0.169 332.2)
XYZxyz(31.5591, 20.3176, 42.8086)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56AF #56BB62
analogous
#9456BB #BB56AF #BB567C
triadic
#BB56AF #AFBB56 #56AFBB
tetradic
#BB56AF #BB9456 #56BB62 #567CBB
square
#BB56AF #BB9456 #56BB62 #567CBB
split-complementary
#BB56AF #7CBB56 #56BB94
monochromatic
#6B2B64 #973D8C #BB56AF #CD82C4 #DEADD8

Accessibility & contrast

On white

4.15
#BB56AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB56AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56AF#FFFFFF#000000##000000
##BB56AF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#C25E7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb56af;
/* rgb */ color: rgb(187, 86, 175);
/* oklch */ color: oklch(61.0% 0.169 332.2);
Tailwind
colors: {
  custom: {
    50: '#d28ac7',
    500: '#bb56af',
    950: '#000000',
  },
}
SCSS
$custom: #bb56af;
$custom-light: #d28ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56af",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 307.129,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.16901,
    "h": 332.2
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#BB56AF
secondary
#A1CCA6
accent
#D26455
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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