#B56BD2#B56BD2

#B56BD2 is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.9% C 0.165 H 315.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B56BD2
RGBrgb(181, 107, 210)
HSLhsl(283, 53%, 62%)
HSVhsv(283, 49%, 82%)
CMYKcmyk(13.8%, 49%, 0%, 17.6%)
CIE-LABlab(57.07, 46.63, -41.46)
CIE-LCHlch(57.07, 62.39, 318.36°)
OKLaboklab(64.92% 0.1184 -0.1152)
OKLCHoklch(64.92% 0.165 315.8)
XYZxyz(35.9448, 24.9933, 63.8910)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BD2 #88D26B
analogous
#826BD2 #B56BD2 #D26BBB
triadic
#B56BD2 #D2B56B #6BD2B5
tetradic
#B56BD2 #D2826B #88D26B #6BBBD2
square
#B56BD2 #D2826B #88D26B #6BBBD2
split-complementary
#B56BD2 #BBD26B #6BD282
monochromatic
#782D95 #9E3CC4 #B56BD2 #CC9AE0 #E4C9EF

Accessibility & contrast

On white

3.50
#B56BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B56BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BD2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BD2#FFFFFF#000000##000000
##B56BD21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D6
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#B47A95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b56bd2;
/* rgb */ color: rgb(181, 107, 210);
/* oklch */ color: oklch(64.9% 0.165 315.8);
Tailwind
colors: {
  custom: {
    50: '#cd98e0',
    500: '#b56bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b56bd2;
$custom-light: #cd98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bd2",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 283.107,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.16516,
    "h": 315.8
  },
  "luminance": 0.24992
}

Semantic roles & 50–950 ramp

primary
#B56BD2
secondary
#C4DFB9
accent
#C12551
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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