#B56BDA#B56BDA

#B56BDA is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.3% C 0.174 H 313.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B56BDA
RGBrgb(181, 107, 218)
HSLhsl(280, 60%, 64%)
HSVhsv(280, 51%, 85%)
CMYKcmyk(17%, 50.9%, 0%, 14.5%)
CIE-LABlab(57.47, 48.31, -45.35)
CIE-LCHlch(57.47, 66.26, 316.81°)
OKLaboklab(65.35% 0.1193 -0.1265)
OKLCHoklch(65.35% 0.174 313.3)
XYZxyz(36.9665, 25.4020, 69.2718)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BDA #90DA6B
analogous
#7D6BDA #B56BDA #DA6BC7
triadic
#B56BDA #DAB56B #6BDAB5
tetradic
#B56BDA #DA7D6B #90DA6B #6BC7DA
square
#B56BDA #DA7D6B #90DA6B #6BC7DA
split-complementary
#B56BDA #C7DA6B #6BDA7D
monochromatic
#7A29A2 #9D3ACE #B56BDA #CD9CE6 #E6CDF2

Accessibility & contrast

On white

3.45
#B56BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B56BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BDA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BDA#FFFFFF#000000##000000
##B56BDA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DE
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#B27D99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56bda;
/* rgb */ color: rgb(181, 107, 218);
/* oklch */ color: oklch(65.3% 0.174 313.3);
Tailwind
colors: {
  custom: {
    50: '#cd98e6',
    500: '#b56bda',
    950: '#000000',
  },
}
SCSS
$custom: #b56bda;
$custom-light: #cd98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bda",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.17385,
    "h": 313.3
  },
  "luminance": 0.25401
}

Semantic roles & 50–950 ramp

primary
#B56BDA
secondary
#CAE4BD
accent
#C81E56
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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