#B56BC8#B56BC8

#B56BC8 is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.4% C 0.154 H 319.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B56BC8
RGBrgb(181, 107, 200)
HSLhsl(288, 46%, 60%)
HSVhsv(288, 47%, 78%)
CMYKcmyk(9.5%, 46.5%, 0%, 21.6%)
CIE-LABlab(56.60, 44.57, -36.53)
CIE-LCHlch(56.60, 57.63, 320.67°)
OKLaboklab(64.42% 0.1169 -0.1009)
OKLCHoklch(64.42% 0.154 319.2)
XYZxyz(34.7377, 24.5105, 57.5335)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BC8 #7EC86B
analogous
#866BC8 #B56BC8 #C86BAC
triadic
#B56BC8 #C8B56B #6BC8B5
tetradic
#B56BC8 #C8866B #7EC86B #6BACC8
square
#B56BC8 #C8866B #7EC86B #6BACC8
split-complementary
#B56BC8 #ACC86B #6BC886
monochromatic
#753287 #9C43B3 #B56BC8 #CB98D9 #E2C4E9

Accessibility & contrast

On white

3.56
#B56BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B56BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BC8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BC8#FFFFFF#000000##000000
##B56BC81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#B67790
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b56bc8;
/* rgb */ color: rgb(181, 107, 200);
/* oklch */ color: oklch(64.4% 0.154 319.2);
Tailwind
colors: {
  custom: {
    50: '#cd97d9',
    500: '#b56bc8',
    950: '#000000',
  },
}
SCSS
$custom: #b56bc8;
$custom-light: #cd97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bc8",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 287.742,
    "s": 45.813,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.15447,
    "h": 319.2
  },
  "luminance": 0.24509
}

Semantic roles & 50–950 ramp

primary
#B56BC8
secondary
#BDD9B6
accent
#B92C49
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E14
muted
#827E83

Preview Lab

Preview with #B56BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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