#B56AF0#B56AF0

#B56AF0 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.4% C 0.200 H 307.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B56AF0
RGBrgb(181, 106, 240)
HSLhsl(274, 82%, 68%)
HSVhsv(274, 56%, 94%)
CMYKcmyk(24.6%, 55.8%, 0%, 5.9%)
CIE-LABlab(58.44, 53.64, -56.12)
CIE-LCHlch(58.44, 77.63, 313.71°)
OKLaboklab(66.44% 0.122 -0.1579)
OKLCHoklch(66.44% 0.2 307.7)
XYZxyz(39.9351, 26.4236, 85.4176)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF0 #A5F06A
analogous
#726AF0 #B56AF0 #F06AE8
triadic
#B56AF0 #F0B56A #6AF0B5
tetradic
#B56AF0 #F0726A #A5F06A #6AE8F0
square
#B56AF0 #F0726A #A5F06A #6AE8F0
split-complementary
#B56AF0 #E8F06A #6AF072
monochromatic
#7B14CB #9932EA #B56AF0 #D1A2F6 #ECD9FB

Accessibility & contrast

On white

3.34
#B56AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B56AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF0#FFFFFF#000000##000000
##B56AF01.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#AC83A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56af0;
/* rgb */ color: rgb(181, 106, 240);
/* oklch */ color: oklch(66.4% 0.200 307.7);
Tailwind
colors: {
  custom: {
    50: '#ce97f5',
    500: '#b56af0',
    950: '#000000',
  },
}
SCSS
$custom: #b56af0;
$custom-light: #ce97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af0",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 273.582,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.19954,
    "h": 307.7
  },
  "luminance": 0.26423
}

Semantic roles & 50–950 ramp

primary
#B56AF0
secondary
#D8F0C6
accent
#DE0766
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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