#B56FAC#B56FAC

#B56FAC is a light, moderate purple. Relative luminance 0.242; OKLCH L 63.8% C 0.119 H 331.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B56FAC
RGBrgb(181, 111, 172)
HSLhsl(308, 32%, 57%)
HSVhsv(308, 39%, 71%)
CMYKcmyk(0%, 38.7%, 5%, 29%)
CIE-LABlab(56.26, 37.04, -20.99)
CIE-LCHlch(56.26, 42.58, 330.46°)
OKLaboklab(63.78% 0.105 -0.0568)
OKLCHoklch(63.78% 0.119 331.6)
XYZxyz(32.1865, 24.1728, 41.9922)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FAC #6FB578
analogous
#9B6FB5 #B56FAC #B56F89
triadic
#B56FAC #ACB56F #6FACB5
tetradic
#B56FAC #B59B6F #6FB578 #6F89B5
square
#B56FAC #B59B6F #6FB578 #6F89B5
split-complementary
#B56FAC #89B56F #6FB59B
monochromatic
#703A69 #984E8F #B56FAC #CA97C3 #DFC0DB

Accessibility & contrast

On white

3.60
#B56FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B56FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FAC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FAC#FFFFFF#000000##000000
##B56FAC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81AE
Deuteranopia (green-blind)
#7F8AAA
Tritanopia (blue-blind)
#BB7386
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b56fac;
/* rgb */ color: rgb(181, 111, 172);
/* oklch */ color: oklch(63.8% 0.119 331.6);
Tailwind
colors: {
  custom: {
    50: '#cc9ac5',
    500: '#b56fac',
    950: '#000000',
  },
}
SCSS
$custom: #b56fac;
$custom-light: #cc9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fac",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 307.714,
    "s": 32.11,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63778,
    "c": 0.11939,
    "h": 331.6
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#B56FAC
secondary
#B2CEB5
accent
#C86D60
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B56FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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