#B56FCB#B56FCB

#B56FCB is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.2% C 0.151 H 317.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B56FCB
RGBrgb(181, 111, 203)
HSLhsl(286, 47%, 62%)
HSVhsv(286, 45%, 80%)
CMYKcmyk(10.8%, 45.3%, 0%, 20.4%)
CIE-LABlab(57.56, 43.05, -36.71)
CIE-LCHlch(57.56, 56.58, 319.55°)
OKLaboklab(65.18% 0.1117 -0.1015)
OKLCHoklch(65.18% 0.151 317.7)
XYZxyz(35.5185, 25.5055, 59.5404)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FCB #85CB6F
analogous
#876FCB #B56FCB #CB6FB3
triadic
#B56FCB #CBB56F #6FCBB5
tetradic
#B56FCB #CB876F #85CB6F #6FB3CB
square
#B56FCB #CB876F #85CB6F #6FB3CB
split-complementary
#B56FCB #B3CB6F #6FCB87
monochromatic
#77338D #9D43BA #B56FCB #CC9CDB #E3C9EB

Accessibility & contrast

On white

3.44
#B56FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B56FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FCB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FCB#FFFFFF#000000##000000
##B56FCB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CE
Deuteranopia (green-blind)
#738DC8
Tritanopia (blue-blind)
#B57C93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56fcb;
/* rgb */ color: rgb(181, 111, 203);
/* oklch */ color: oklch(65.2% 0.151 317.7);
Tailwind
colors: {
  custom: {
    50: '#cd9adb',
    500: '#b56fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b56fcb;
$custom-light: #cd9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fcb",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 285.652,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65184,
    "c": 0.15093,
    "h": 317.7
  },
  "luminance": 0.25504
}

Semantic roles & 50–950 ramp

primary
#B56FCB
secondary
#C2DCBA
accent
#BA2B4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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