#B56FD2#B56FD2

#B56FD2 is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.5% C 0.159 H 315.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B56FD2
RGBrgb(181, 111, 210)
HSLhsl(282, 52%, 63%)
HSVhsv(282, 47%, 82%)
CMYKcmyk(13.8%, 47.1%, 0%, 17.6%)
CIE-LABlab(57.89, 44.51, -40.16)
CIE-LCHlch(57.89, 59.95, 317.94°)
OKLaboklab(65.54% 0.1128 -0.1115)
OKLCHoklch(65.54% 0.159 315.3)
XYZxyz(36.3716, 25.8468, 64.0332)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FD2 #8CD26F
analogous
#836FD2 #B56FD2 #D26FBE
triadic
#B56FD2 #D2B56F #6FD2B5
tetradic
#B56FD2 #D2836F #8CD26F #6FBED2
square
#B56FD2 #D2836F #8CD26F #6FBED2
split-complementary
#B56FD2 #BED26F #6FD283
monochromatic
#792F97 #9D40C3 #B56FD2 #CD9EE1 #E5CCEF

Accessibility & contrast

On white

3.40
#B56FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B56FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FD2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FD2#FFFFFF#000000##000000
##B56FD21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D5
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#B37E97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56fd2;
/* rgb */ color: rgb(181, 111, 210);
/* oklch */ color: oklch(65.5% 0.159 315.3);
Tailwind
colors: {
  custom: {
    50: '#cd9ae0',
    500: '#b56fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b56fd2;
$custom-light: #cd9ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fd2",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 282.424,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65535,
    "c": 0.15857,
    "h": 315.3
  },
  "luminance": 0.25846
}

Semantic roles & 50–950 ramp

primary
#B56FD2
secondary
#C7E0BD
accent
#C02653
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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