#B56AF7#B56AF7

#B56AF7 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.9% C 0.207 H 306.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B56AF7
RGBrgb(181, 106, 247)
HSLhsl(272, 90%, 69%)
HSVhsv(272, 57%, 97%)
CMYKcmyk(26.7%, 57.1%, 0%, 3.1%)
CIE-LABlab(58.83, 55.22, -59.37)
CIE-LCHlch(58.83, 81.08, 312.93°)
OKLaboklab(66.86% 0.1221 -0.1674)
OKLCHoklch(66.86% 0.207 306.1)
XYZxyz(40.9950, 26.8476, 91.0001)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF7 #ACF76A
analogous
#6F6AF7 #B56AF7 #F76AF2
triadic
#B56AF7 #F7B56A #6AF7B5
tetradic
#B56AF7 #F76F6A #ACF76A #6AF2F7
square
#B56AF7 #F76F6A #ACF76A #6AF2F7
split-complementary
#B56AF7 #F2F76A #6AF76F
monochromatic
#7A0CDB #9830F4 #B56AF7 #D2A4FA #EFDEFD

Accessibility & contrast

On white

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

On black

6.37
#B56AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF7#FFFFFF#000000##000000
##B56AF71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#AA85A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56af7;
/* rgb */ color: rgb(181, 106, 247);
/* oklch */ color: oklch(66.9% 0.207 306.1);
Tailwind
colors: {
  custom: {
    50: '#cf98fa',
    500: '#b56af7',
    950: '#000000',
  },
}
SCSS
$custom: #b56af7;
$custom-light: #cf98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af7",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 271.915,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66858,
    "c": 0.20725,
    "h": 306.1
  },
  "luminance": 0.26847
}

Semantic roles & 50–950 ramp

primary
#B56AF7
secondary
#DDF3CA
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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