#BB56D9#BB56D9

#BB56D9 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.1% C 0.207 H 317.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BB56D9
RGBrgb(187, 86, 217)
HSLhsl(286, 63%, 59%)
HSVhsv(286, 60%, 85%)
CMYKcmyk(13.8%, 60.4%, 0%, 14.9%)
CIE-LABlab(54.27, 60.02, -49.80)
CIE-LCHlch(54.27, 77.99, 320.31°)
OKLaboklab(63.15% 0.1534 -0.1392)
OKLCHoklch(63.15% 0.207 317.8)
XYZxyz(36.3439, 22.2316, 68.0089)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56D9 #74D956
analogous
#7A56D9 #BB56D9 #D956B5
triadic
#BB56D9 #D9BB56 #56D9BB
tetradic
#BB56D9 #D97A56 #74D956 #56B5D9
square
#BB56D9 #D97A56 #74D956 #56B5D9
split-complementary
#BB56D9 #B5D956 #56D97A
monochromatic
#792193 #A22CC5 #BB56D9 #CF88E4 #E3BAEF

Accessibility & contrast

On white

3.86
#BB56D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BB56D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56D9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56D9#FFFFFF#000000##000000
##BB56D91.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#5B85D6
Tritanopia (blue-blind)
#BA6C90
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb56d9;
/* rgb */ color: rgb(187, 86, 217);
/* oklch */ color: oklch(63.1% 0.207 317.8);
Tailwind
colors: {
  custom: {
    50: '#d38be5',
    500: '#bb56d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb56d9;
$custom-light: #d38be5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56d9",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 286.26,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63148,
    "c": 0.20717,
    "h": 317.8
  },
  "luminance": 0.2223
}

Semantic roles & 50–950 ramp

primary
#BB56D9
secondary
#B8DFAC
accent
#E64167
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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