#BB56D7#BB56D7

#BB56D7 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.0% C 0.205 H 318.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB56D7
RGBrgb(187, 86, 215)
HSLhsl(287, 62%, 59%)
HSVhsv(287, 60%, 84%)
CMYKcmyk(13%, 60%, 0%, 15.7%)
CIE-LABlab(54.16, 59.62, -48.84)
CIE-LCHlch(54.16, 77.08, 320.68°)
OKLaboklab(63.03% 0.1534 -0.1364)
OKLCHoklch(63.03% 0.205 318.4)
XYZxyz(36.0854, 22.1281, 66.6472)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56D7 #72D756
analogous
#7B56D7 #BB56D7 #D756B2
triadic
#BB56D7 #D7BB56 #56D7BB
tetradic
#BB56D7 #D77B56 #72D756 #56B2D7
square
#BB56D7 #D77B56 #72D756 #56B2D7
split-complementary
#BB56D7 #B2D756 #56D77B
monochromatic
#782290 #A22EC2 #BB56D7 #CF87E3 #E3B9EE

Accessibility & contrast

On white

3.87
#BB56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BB56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56D7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56D7#FFFFFF#000000##000000
##BB56D71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDB
Deuteranopia (green-blind)
#5C85D4
Tritanopia (blue-blind)
#BB6B8F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb56d7;
/* rgb */ color: rgb(187, 86, 215);
/* oklch */ color: oklch(63.0% 0.205 318.4);
Tailwind
colors: {
  custom: {
    50: '#d28be4',
    500: '#bb56d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb56d7;
$custom-light: #d28be4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56d7",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 286.977,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.20525,
    "h": 318.4
  },
  "luminance": 0.22127
}

Semantic roles & 50–950 ramp

primary
#BB56D7
secondary
#B6DEAB
accent
#E54366
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BB56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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