#B56BCE#B56BCE

#B56BCE is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.7% C 0.161 H 317.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B56BCE
RGBrgb(181, 107, 206)
HSLhsl(285, 50%, 61%)
HSVhsv(285, 48%, 81%)
CMYKcmyk(12.1%, 48.1%, 0%, 19.2%)
CIE-LABlab(56.88, 45.80, -39.49)
CIE-LCHlch(56.88, 60.47, 319.23°)
OKLaboklab(64.72% 0.1178 -0.1095)
OKLCHoklch(64.72% 0.161 317.1)
XYZxyz(35.4527, 24.7965, 61.2992)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BCE #84CE6B
analogous
#846BCE #B56BCE #CE6BB6
triadic
#B56BCE #CEB56B #6BCEB5
tetradic
#B56BCE #CE846B #84CE6B #6BB6CE
square
#B56BCE #CE846B #84CE6B #6BB6CE
split-complementary
#B56BCE #B6CE6B #6BCE84
monochromatic
#772F8F #9D3FBD #B56BCE #CC99DD #E3C7EC

Accessibility & contrast

On white

3.52
#B56BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B56BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BCE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BCE#FFFFFF#000000##000000
##B56BCE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D1
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#B47993
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b56bce;
/* rgb */ color: rgb(181, 107, 206);
/* oklch */ color: oklch(64.7% 0.161 317.1);
Tailwind
colors: {
  custom: {
    50: '#cd97dd',
    500: '#b56bce',
    950: '#000000',
  },
}
SCSS
$custom: #b56bce;
$custom-light: #cd97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bce",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 284.848,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64718,
    "c": 0.16085,
    "h": 317.1
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#B56BCE
secondary
#C1DDB8
accent
#BE284E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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