#B56AF6#B56AF6

#B56AF6 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.8% C 0.206 H 306.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B56AF6
RGBrgb(181, 106, 246)
HSLhsl(272, 89%, 69%)
HSVhsv(272, 57%, 96%)
CMYKcmyk(26.4%, 56.9%, 0%, 3.5%)
CIE-LABlab(58.78, 54.99, -58.91)
CIE-LCHlch(58.78, 80.59, 313.03°)
OKLaboklab(66.8% 0.1221 -0.1661)
OKLCHoklch(66.8% 0.206 306.3)
XYZxyz(40.8411, 26.7860, 90.1896)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF6 #ABF66A
analogous
#6F6AF6 #B56AF6 #F66AF1
triadic
#B56AF6 #F6B56A #6AF6B5
tetradic
#B56AF6 #F66F6A #ABF66A #6AF1F6
square
#B56AF6 #F66F6A #ABF66A #6AF1F6
split-complementary
#B56AF6 #F1F66A #6AF66F
monochromatic
#7A0DD9 #9830F3 #B56AF6 #D2A4F9 #EEDDFD

Accessibility & contrast

On white

3.30
#B56AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B56AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF6#FFFFFF#000000##000000
##B56AF61.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFB
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#AA85A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56af6;
/* rgb */ color: rgb(181, 106, 246);
/* oklch */ color: oklch(66.8% 0.206 306.3);
Tailwind
colors: {
  custom: {
    50: '#cf97fa',
    500: '#b56af6',
    950: '#000000',
  },
}
SCSS
$custom: #b56af6;
$custom-light: #cf97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af6",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 272.143,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66798,
    "c": 0.20614,
    "h": 306.3
  },
  "luminance": 0.26786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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