#B56FB2#B56FB2

#B56FB2 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.0% C 0.125 H 328.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B56FB2
RGBrgb(181, 111, 178)
HSLhsl(303, 32%, 57%)
HSVhsv(303, 39%, 71%)
CMYKcmyk(0%, 38.7%, 1.7%, 29%)
CIE-LABlab(56.49, 38.15, -24.09)
CIE-LCHlch(56.49, 45.12, 327.73°)
OKLaboklab(64.03% 0.1066 -0.0655)
OKLCHoklch(64.03% 0.125 328.4)
XYZxyz(32.7758, 24.4085, 45.0957)
Luminance0.2441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FB2 #6FB572
analogous
#956FB5 #B56FB2 #B56F8F
triadic
#B56FB2 #B2B56F #6FB2B5
tetradic
#B56FB2 #B5956F #6FB572 #6F8FB5
square
#B56FB2 #B5956F #6FB572 #6F8FB5
split-complementary
#B56FB2 #8FB56F #6FB595
monochromatic
#703A6E #984E95 #B56FB2 #CA97C8 #DFC0DD

Accessibility & contrast

On white

3.57
#B56FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B56FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FB2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FB2#FFFFFF#000000##000000
##B56FB21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B4
Deuteranopia (green-blind)
#7D8BB0
Tritanopia (blue-blind)
#BA7588
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b56fb2;
/* rgb */ color: rgb(181, 111, 178);
/* oklch */ color: oklch(64.0% 0.125 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc9ac9',
    500: '#b56fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b56fb2;
$custom-light: #cc9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fb2",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 302.571,
    "s": 32.11,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64031,
    "c": 0.12507,
    "h": 328.4
  },
  "luminance": 0.24407
}

Semantic roles & 50–950 ramp

primary
#B56FB2
secondary
#B2CEB3
accent
#C86460
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B56FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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