#B56FC2#B56FC2

#B56FC2 is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.8% C 0.141 H 321.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B56FC2
RGBrgb(181, 111, 194)
HSLhsl(291, 40%, 60%)
HSVhsv(291, 43%, 76%)
CMYKcmyk(6.7%, 42.8%, 0%, 23.9%)
CIE-LABlab(57.16, 41.24, -32.22)
CIE-LCHlch(57.16, 52.33, 321.99°)
OKLaboklab(64.75% 0.1101 -0.0886)
OKLCHoklch(64.75% 0.141 321.2)
XYZxyz(34.4770, 25.0889, 54.0550)
Luminance0.2509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FC2 #7CC26F
analogous
#8B6FC2 #B56FC2 #C26FA6
triadic
#B56FC2 #C2B56F #6FC2B5
tetradic
#B56FC2 #C28B6F #7CC26F #6FA6C2
square
#B56FC2 #C28B6F #7CC26F #6FA6C2
split-complementary
#B56FC2 #A6C26F #6FC28B
monochromatic
#753680 #9C49AB #B56FC2 #CB9AD4 #E1C5E6

Accessibility & contrast

On white

3.49
#B56FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B56FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FC2#FFFFFF#000000##000000
##B56FC21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6484C5
Deuteranopia (green-blind)
#778CC0
Tritanopia (blue-blind)
#B7798F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b56fc2;
/* rgb */ color: rgb(181, 111, 194);
/* oklch */ color: oklch(64.8% 0.141 321.2);
Tailwind
colors: {
  custom: {
    50: '#cd9ad4',
    500: '#b56fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b56fc2;
$custom-light: #cd9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fc2",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 290.602,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64752,
    "c": 0.14131,
    "h": 321.2
  },
  "luminance": 0.25088
}

Semantic roles & 50–950 ramp

primary
#B56FC2
secondary
#BBD6B6
accent
#D0576A
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E14
muted
#827E83

Preview Lab

Preview with #B56FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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