#B56ECC#B56ECC

#B56ECC is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.1% C 0.154 H 317.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B56ECC
RGBrgb(181, 110, 204)
HSLhsl(285, 48%, 62%)
HSVhsv(285, 46%, 80%)
CMYKcmyk(11.3%, 46.1%, 0%, 20%)
CIE-LABlab(57.40, 43.79, -37.54)
CIE-LCHlch(57.40, 57.68, 319.40°)
OKLaboklab(65.08% 0.1133 -0.1039)
OKLCHoklch(65.08% 0.154 317.5)
XYZxyz(35.5295, 25.3364, 60.1339)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56ECC #85CC6E
analogous
#866ECC #B56ECC #CC6EB4
triadic
#B56ECC #CCB56E #6ECCB5
tetradic
#B56ECC #CC866E #85CC6E #6EB4CC
square
#B56ECC #CC866E #85CC6E #6EB4CC
split-complementary
#B56ECC #B4CC6E #6ECC86
monochromatic
#77328E #9D42BB #B56ECC #CC9BDC #E3C9EC

Accessibility & contrast

On white

3.46
#B56ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B56ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56ECC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56ECC#FFFFFF#000000##000000
##B56ECC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#B57B93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56ecc;
/* rgb */ color: rgb(181, 110, 204);
/* oklch */ color: oklch(65.1% 0.154 317.5);
Tailwind
colors: {
  custom: {
    50: '#cd99dc',
    500: '#b56ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b56ecc;
$custom-light: #cd99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ecc",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 285.319,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.1537,
    "h": 317.5
  },
  "luminance": 0.25335
}

Semantic roles & 50–950 ramp

primary
#B56ECC
secondary
#C2DCB9
accent
#BB2A4E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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