#B56BC2#B56BC2

#B56BC2 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.1% C 0.148 H 321.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B56BC2
RGBrgb(181, 107, 194)
HSLhsl(291, 42%, 59%)
HSVhsv(291, 45%, 76%)
CMYKcmyk(6.7%, 44.8%, 0%, 23.9%)
CIE-LABlab(56.32, 43.37, -33.53)
CIE-LCHlch(56.32, 54.82, 322.29°)
OKLaboklab(64.13% 0.1159 -0.0923)
OKLCHoklch(64.13% 0.148 321.5)
XYZxyz(34.0502, 24.2355, 53.9128)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BC2 #78C26B
analogous
#8A6BC2 #B56BC2 #C26BA4
triadic
#B56BC2 #C2B56B #6BC2B5
tetradic
#B56BC2 #C28A6B #78C26B #6BA4C2
square
#B56BC2 #C28A6B #78C26B #6BA4C2
split-complementary
#B56BC2 #A4C26B #6BC28A
monochromatic
#73347E #9B46AA #B56BC2 #CB96D4 #E0C2E6

Accessibility & contrast

On white

3.59
#B56BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B56BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BC2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BC2#FFFFFF#000000##000000
##B56BC21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#B7768D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b56bc2;
/* rgb */ color: rgb(181, 107, 194);
/* oklch */ color: oklch(64.1% 0.148 321.5);
Tailwind
colors: {
  custom: {
    50: '#cd97d4',
    500: '#b56bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b56bc2;
$custom-light: #cd97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bc2",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 291.034,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.14819,
    "h": 321.5
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#B56BC2
secondary
#B8D5B3
accent
#D15669
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E14
muted
#827E83

Preview Lab

Preview with #B56BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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