#B56BCB#B56BCB

#B56BCB is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.6% C 0.158 H 318.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B56BCB
RGBrgb(181, 107, 203)
HSLhsl(286, 48%, 61%)
HSVhsv(286, 47%, 80%)
CMYKcmyk(10.8%, 47.3%, 0%, 20.4%)
CIE-LABlab(56.73, 45.18, -38.01)
CIE-LCHlch(56.73, 59.05, 319.93°)
OKLaboklab(64.57% 0.1174 -0.1052)
OKLCHoklch(64.57% 0.158 318.1)
XYZxyz(35.0918, 24.6521, 59.3982)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BCB #81CB6B
analogous
#856BCB #B56BCB #CB6BB1
triadic
#B56BCB #CBB56B #6BCBB5
tetradic
#B56BCB #CB856B #81CB6B #6BB1CB
square
#B56BCB #CB856B #81CB6B #6BB1CB
split-complementary
#B56BCB #B1CB6B #6BCB85
monochromatic
#76318B #9D41B8 #B56BCB #CC98DB #E2C6EB

Accessibility & contrast

On white

3.54
#B56BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B56BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BCB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BCB#FFFFFF#000000##000000
##B56BCB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#6F8BC8
Tritanopia (blue-blind)
#B57892
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b56bcb;
/* rgb */ color: rgb(181, 107, 203);
/* oklch */ color: oklch(64.6% 0.158 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd97db',
    500: '#b56bcb',
    950: '#000000',
  },
}
SCSS
$custom: #b56bcb;
$custom-light: #cd97db;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bcb",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 286.25,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.15765,
    "h": 318.1
  },
  "luminance": 0.24651
}

Semantic roles & 50–950 ramp

primary
#B56BCB
secondary
#BFDBB7
accent
#BB2A4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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