#B56DF8#B56DF8

#B56DF8 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.3% C 0.204 H 305.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B56DF8
RGBrgb(181, 109, 248)
HSLhsl(271, 91%, 70%)
HSVhsv(271, 56%, 97%)
CMYKcmyk(27%, 56%, 0%, 2.7%)
CIE-LABlab(59.47, 53.91, -58.90)
CIE-LCHlch(59.47, 79.85, 312.47°)
OKLaboklab(67.34% 0.1185 -0.1661)
OKLCHoklch(67.34% 0.204 305.5)
XYZxyz(41.4643, 27.5386, 91.9198)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF8 #B0F86D
analogous
#6F6DF8 #B56DF8 #F86DF6
triadic
#B56DF8 #F8B56D #6DF8B5
tetradic
#B56DF8 #F86F6D #B0F86D #6DF6F8
square
#B56DF8 #F86F6D #B0F86D #6DF6F8
split-complementary
#B56DF8 #F6F86D #6DF86F
monochromatic
#790BE0 #9733F5 #B56DF8 #D3A7FB #F0E2FE

Accessibility & contrast

On white

3.23
#B56DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B56DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF8#FFFFFF#000000##000000
##B56DF81.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#538FF5
Tritanopia (blue-blind)
#AA88A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56df8;
/* rgb */ color: rgb(181, 109, 248);
/* oklch */ color: oklch(67.3% 0.204 305.5);
Tailwind
colors: {
  custom: {
    50: '#cf99fb',
    500: '#b56df8',
    950: '#000000',
  },
}
SCSS
$custom: #b56df8;
$custom-light: #cf99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df8",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 271.079,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.20401,
    "h": 305.5
  },
  "luminance": 0.27538
}

Semantic roles & 50–950 ramp

primary
#B56DF8
secondary
#E0F4CD
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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