#B56DF5#B56DF5

#B56DF5 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.2% C 0.201 H 306.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B56DF5
RGBrgb(181, 109, 245)
HSLhsl(272, 87%, 69%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(26.1%, 55.5%, 0%, 3.9%)
CIE-LABlab(59.30, 53.23, -57.51)
CIE-LCHlch(59.30, 78.36, 312.78°)
OKLaboklab(67.16% 0.1184 -0.162)
OKLCHoklch(67.16% 0.201 306.2)
XYZxyz(41.0027, 27.3540, 89.4883)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF5 #ADF56D
analogous
#716DF5 #B56DF5 #F56DF1
triadic
#B56DF5 #F5B56D #6DF5B5
tetradic
#B56DF5 #F5716D #ADF56D #6DF1F5
square
#B56DF5 #F5716D #ADF56D #6DF1F5
split-complementary
#B56DF5 #F1F56D #6DF571
monochromatic
#7A0FD9 #9834F1 #B56DF5 #D2A6F9 #EFE0FD

Accessibility & contrast

On white

3.25
#B56DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B56DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF5#FFFFFF#000000##000000
##B56DF51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#AB87A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56df5;
/* rgb */ color: rgb(181, 109, 245);
/* oklch */ color: oklch(67.2% 0.201 306.2);
Tailwind
colors: {
  custom: {
    50: '#ce99f9',
    500: '#b56df5',
    950: '#000000',
  },
}
SCSS
$custom: #b56df5;
$custom-light: #ce99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df5",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 271.765,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.20066,
    "h": 306.2
  },
  "luminance": 0.27354
}

Semantic roles & 50–950 ramp

primary
#B56DF5
secondary
#DEF2CB
accent
#E4026C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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