#B56DF4#B56DF4

#B56DF4 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.200 H 306.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B56DF4
RGBrgb(181, 109, 244)
HSLhsl(272, 86%, 69%)
HSVhsv(272, 55%, 96%)
CMYKcmyk(25.8%, 55.3%, 0%, 4.3%)
CIE-LABlab(59.24, 53.00, -57.05)
CIE-LCHlch(59.24, 77.87, 312.89°)
OKLaboklab(67.11% 0.1184 -0.1606)
OKLCHoklch(67.11% 0.2 306.4)
XYZxyz(40.8504, 27.2931, 88.6865)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF4 #ACF46D
analogous
#726DF4 #B56DF4 #F46DEF
triadic
#B56DF4 #F4B56D #6DF4B5
tetradic
#B56DF4 #F4726D #ACF46D #6DEFF4
square
#B56DF4 #F4726D #ACF46D #6DEFF4
split-complementary
#B56DF4 #EFF46D #6DF472
monochromatic
#7A10D6 #9834F0 #B56DF4 #D2A6F8 #EFDFFD

Accessibility & contrast

On white

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

On black

6.46
#B56DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF4#FFFFFF#000000##000000
##B56DF41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#AB86A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56df4;
/* rgb */ color: rgb(181, 109, 244);
/* oklch */ color: oklch(67.1% 0.200 306.4);
Tailwind
colors: {
  custom: {
    50: '#ce99f8',
    500: '#b56df4',
    950: '#000000',
  },
}
SCSS
$custom: #b56df4;
$custom-light: #ce99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df4",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 272,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67105,
    "c": 0.19955,
    "h": 306.4
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#B56DF4
secondary
#DDF2CB
accent
#E3036B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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