#B56BCA#B56BCA

#B56BCA is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.5% C 0.157 H 318.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B56BCA
RGBrgb(181, 107, 202)
HSLhsl(287, 47%, 61%)
HSVhsv(287, 47%, 79%)
CMYKcmyk(10.4%, 47%, 0%, 20.8%)
CIE-LABlab(56.69, 44.98, -37.52)
CIE-LCHlch(56.69, 58.57, 320.17°)
OKLaboklab(64.52% 0.1172 -0.1038)
OKLCHoklch(64.52% 0.157 318.5)
XYZxyz(34.9730, 24.6046, 58.7726)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BCA #80CA6B
analogous
#856BCA #B56BCA #CA6BAF
triadic
#B56BCA #CAB56B #6BCAB5
tetradic
#B56BCA #CA856B #80CA6B #6BAFCA
square
#B56BCA #CA856B #80CA6B #6BAFCA
split-complementary
#B56BCA #AFCA6B #6BCA85
monochromatic
#763189 #9D41B6 #B56BCA #CC98DA #E2C5EA

Accessibility & contrast

On white

3.55
#B56BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B56BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BCA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BCA#FFFFFF#000000##000000
##B56BCA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#708BC7
Tritanopia (blue-blind)
#B57891
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b56bca;
/* rgb */ color: rgb(181, 107, 202);
/* oklch */ color: oklch(64.5% 0.157 318.5);
Tailwind
colors: {
  custom: {
    50: '#cd97da',
    500: '#b56bca',
    950: '#000000',
  },
}
SCSS
$custom: #b56bca;
$custom-light: #cd97da;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bca",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 286.737,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64516,
    "c": 0.15659,
    "h": 318.5
  },
  "luminance": 0.24603
}

Semantic roles & 50–950 ramp

primary
#B56BCA
secondary
#BEDAB6
accent
#BB2B4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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