#B56AF3#B56AF3

#B56AF3 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.6% C 0.203 H 307.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B56AF3
RGBrgb(181, 106, 243)
HSLhsl(273, 85%, 68%)
HSVhsv(273, 56%, 95%)
CMYKcmyk(25.5%, 56.4%, 0%, 4.7%)
CIE-LABlab(58.61, 54.32, -57.51)
CIE-LCHlch(58.61, 79.11, 313.36°)
OKLaboklab(66.62% 0.1221 -0.162)
OKLCHoklch(66.62% 0.203 307)
XYZxyz(40.3844, 26.6033, 87.7841)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF3 #A8F36A
analogous
#706AF3 #B56AF3 #F36AEC
triadic
#B56AF3 #F3B56A #6AF3B5
tetradic
#B56AF3 #F3706A #A8F36A #6AECF3
square
#B56AF3 #F3706A #A8F36A #6AECF3
split-complementary
#B56AF3 #ECF36A #6AF370
monochromatic
#7A11D2 #9931EE #B56AF3 #D1A3F8 #EDDBFC

Accessibility & contrast

On white

3.32
#B56AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B56AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF3#FFFFFF#000000##000000
##B56AF31.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF7
Deuteranopia (green-blind)
#548EF0
Tritanopia (blue-blind)
#AB84A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56af3;
/* rgb */ color: rgb(181, 106, 243);
/* oklch */ color: oklch(66.6% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#cf97f8',
    500: '#b56af3',
    950: '#000000',
  },
}
SCSS
$custom: #b56af3;
$custom-light: #cf97f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af3",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 272.847,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66618,
    "c": 0.20285,
    "h": 307
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

primary
#B56AF3
secondary
#DAF1C8
accent
#E20468
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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