#B56AF8#B56AF8

#B56AF8 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.9% C 0.208 H 305.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B56AF8
RGBrgb(181, 106, 248)
HSLhsl(272, 91%, 69%)
HSVhsv(272, 57%, 97%)
CMYKcmyk(27%, 57.3%, 0%, 2.7%)
CIE-LABlab(58.89, 55.45, -59.83)
CIE-LCHlch(58.89, 81.57, 312.82°)
OKLaboklab(66.92% 0.1222 -0.1688)
OKLCHoklch(66.92% 0.208 305.9)
XYZxyz(41.1498, 26.9095, 91.8150)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF8 #ADF86A
analogous
#6E6AF8 #B56AF8 #F86AF4
triadic
#B56AF8 #F8B56A #6AF8B5
tetradic
#B56AF8 #F86E6A #ADF86A #6AF4F8
square
#B56AF8 #F86E6A #ADF86A #6AF4F8
split-complementary
#B56AF8 #F4F86A #6AF86E
monochromatic
#7A0ADD #9830F5 #B56AF8 #D2A4FB #EFDFFD

Accessibility & contrast

On white

3.29
#B56AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B56AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF8#FFFFFF#000000##000000
##B56AF81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFD
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#AA86A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56af8;
/* rgb */ color: rgb(181, 106, 248);
/* oklch */ color: oklch(66.9% 0.208 305.9);
Tailwind
colors: {
  custom: {
    50: '#cf98fb',
    500: '#b56af8',
    950: '#000000',
  },
}
SCSS
$custom: #b56af8;
$custom-light: #cf98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af8",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 271.69,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66919,
    "c": 0.20834,
    "h": 305.9
  },
  "luminance": 0.26909
}

Semantic roles & 50–950 ramp

primary
#B56AF8
secondary
#DEF3CA
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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