#B56FD6#B56FD6

#B56FD6 is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.7% C 0.163 H 314.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B56FD6
RGBrgb(181, 111, 214)
HSLhsl(281, 56%, 64%)
HSVhsv(281, 48%, 84%)
CMYKcmyk(15.4%, 48.1%, 0%, 16.1%)
CIE-LABlab(58.08, 45.35, -42.12)
CIE-LCHlch(58.08, 61.89, 317.12°)
OKLaboklab(65.74% 0.1133 -0.1171)
OKLCHoklch(65.74% 0.163 314)
XYZxyz(36.8761, 26.0486, 66.6906)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FD6 #90D66F
analogous
#816FD6 #B56FD6 #D66FC3
triadic
#B56FD6 #D6B56F #6FD6B5
tetradic
#B56FD6 #D6816F #90D66F #6FC3D6
square
#B56FD6 #D6816F #90D66F #6FC3D6
split-complementary
#B56FD6 #C3D66F #6FD681
monochromatic
#7A2D9E #9D3FC8 #B56FD6 #CD9FE4 #E6CEF1

Accessibility & contrast

On white

3.38
#B56FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B56FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FD6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FD6#FFFFFF#000000##000000
##B56FD61.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988DA
Deuteranopia (green-blind)
#6D8DD3
Tritanopia (blue-blind)
#B27F99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56fd6;
/* rgb */ color: rgb(181, 111, 214);
/* oklch */ color: oklch(65.7% 0.163 314.0);
Tailwind
colors: {
  custom: {
    50: '#cd9ae3',
    500: '#b56fd6',
    950: '#000000',
  },
}
SCSS
$custom: #b56fd6;
$custom-light: #cd9ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fd6",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 280.777,
    "s": 55.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6574,
    "c": 0.16298,
    "h": 314
  },
  "luminance": 0.26048
}

Semantic roles & 50–950 ramp

primary
#B56FD6
secondary
#CAE3BE
accent
#C32256
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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