#B56AF5#B56AF5

#B56AF5 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.7% C 0.205 H 306.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B56AF5
RGBrgb(181, 106, 245)
HSLhsl(272, 87%, 69%)
HSVhsv(272, 57%, 96%)
CMYKcmyk(26.1%, 56.7%, 0%, 3.9%)
CIE-LABlab(58.72, 54.77, -58.44)
CIE-LCHlch(58.72, 80.09, 313.14°)
OKLaboklab(66.74% 0.1221 -0.1647)
OKLCHoklch(66.74% 0.205 306.6)
XYZxyz(40.6881, 26.7248, 89.3834)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF5 #AAF56A
analogous
#706AF5 #B56AF5 #F56AF0
triadic
#B56AF5 #F5B56A #6AF5B5
tetradic
#B56AF5 #F5706A #AAF56A #6AF0F5
square
#B56AF5 #F5706A #AAF56A #6AF0F5
split-complementary
#B56AF5 #F0F56A #6AF570
monochromatic
#7A0ED6 #9931F1 #B56AF5 #D1A3F9 #EEDDFD

Accessibility & contrast

On white

3.31
#B56AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B56AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF5#FFFFFF#000000##000000
##B56AF51.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#AB85A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56af5;
/* rgb */ color: rgb(181, 106, 245);
/* oklch */ color: oklch(66.7% 0.205 306.6);
Tailwind
colors: {
  custom: {
    50: '#cf97f9',
    500: '#b56af5',
    950: '#000000',
  },
}
SCSS
$custom: #b56af5;
$custom-light: #cf97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af5",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 272.374,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66738,
    "c": 0.20504,
    "h": 306.6
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#B56AF5
secondary
#DCF2C9
accent
#E4026A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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