#BB56B4#BB56B4

#BB56B4 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.2% C 0.173 H 330.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB56B4
RGBrgb(187, 86, 180)
HSLhsl(304, 43%, 54%)
HSVhsv(304, 54%, 73%)
CMYKcmyk(0%, 54%, 3.7%, 26.7%)
CIE-LABlab(52.42, 53.15, -31.50)
CIE-LCHlch(52.42, 61.78, 329.34°)
OKLaboklab(61.19% 0.1503 -0.0862)
OKLCHoklch(61.19% 0.173 330.1)
XYZxyz(32.0593, 20.5177, 45.4429)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56B4 #56BB5D
analogous
#8F56BB #BB56B4 #BB5681
triadic
#BB56B4 #B4BB56 #56B4BB
tetradic
#BB56B4 #BB8F56 #56BB5D #5681BB
square
#BB56B4 #BB8F56 #56BB5D #5681BB
split-complementary
#BB56B4 #81BB56 #56BB8F
monochromatic
#6B2B67 #973D91 #BB56B4 #CD82C7 #DEADDB

Accessibility & contrast

On white

4.12
#BB56B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB56B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56B4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56B4#FFFFFF#000000##000000
##BB56B41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B7
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#C15F7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb56b4;
/* rgb */ color: rgb(187, 86, 180);
/* oklch */ color: oklch(61.2% 0.173 330.1);
Tailwind
colors: {
  custom: {
    50: '#d28aca',
    500: '#bb56b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb56b4;
$custom-light: #d28aca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56b4",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 304.158,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.17324,
    "h": 330.1
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#BB56B4
secondary
#A1CCA4
accent
#D25E55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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