#B56AF2#B56AF2

#B56AF2 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.6% C 0.202 H 307.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B56AF2
RGBrgb(181, 106, 242)
HSLhsl(273, 84%, 68%)
HSVhsv(273, 56%, 95%)
CMYKcmyk(25.2%, 56.2%, 0%, 5.1%)
CIE-LABlab(58.55, 54.09, -57.05)
CIE-LCHlch(58.55, 78.62, 313.48°)
OKLaboklab(66.56% 0.1221 -0.1606)
OKLCHoklch(66.56% 0.202 307.2)
XYZxyz(40.2338, 26.5431, 86.9910)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AF2 #A7F26A
analogous
#716AF2 #B56AF2 #F26AEB
triadic
#B56AF2 #F2B56A #6AF2B5
tetradic
#B56AF2 #F2716A #A7F26A #6AEBF2
square
#B56AF2 #F2716A #A7F26A #6AEBF2
split-complementary
#B56AF2 #EBF26A #6AF271
monochromatic
#7B12CF #9932ED #B56AF2 #D1A2F7 #EDDBFC

Accessibility & contrast

On white

3.33
#B56AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B56AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AF2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AF2#FFFFFF#000000##000000
##B56AF21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#558EEF
Tritanopia (blue-blind)
#AC84A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56af2;
/* rgb */ color: rgb(181, 106, 242);
/* oklch */ color: oklch(66.6% 0.202 307.2);
Tailwind
colors: {
  custom: {
    50: '#ce97f7',
    500: '#b56af2',
    950: '#000000',
  },
}
SCSS
$custom: #b56af2;
$custom-light: #ce97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56af2",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 273.088,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66559,
    "c": 0.20174,
    "h": 307.2
  },
  "luminance": 0.26543
}

Semantic roles & 50–950 ramp

primary
#B56AF2
secondary
#DAF1C7
accent
#E00567
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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