#B56AEE#B56AEE

#B56AEE is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.3% C 0.197 H 308.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B56AEE
RGBrgb(181, 106, 238)
HSLhsl(274, 80%, 67%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.9%, 55.5%, 0%, 6.7%)
CIE-LABlab(58.33, 53.20, -55.18)
CIE-LCHlch(58.33, 76.65, 313.95°)
OKLaboklab(66.32% 0.1219 -0.1552)
OKLCHoklch(66.32% 0.197 308.2)
XYZxyz(39.6396, 26.3054, 83.8616)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AEE #A3EE6A
analogous
#736AEE #B56AEE #EE6AE5
triadic
#B56AEE #EEB56A #6AEEB5
tetradic
#B56AEE #EE736A #A3EE6A #6AE5EE
square
#B56AEE #EE736A #A3EE6A #6AE5EE
split-complementary
#B56AEE #E5EE6A #6AEE73
monochromatic
#7B17C7 #9A33E8 #B56AEE #D0A1F4 #ECD8FB

Accessibility & contrast

On white

3.35
#B56AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B56AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AEE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AEE#FFFFFF#000000##000000
##B56AEE1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#AD82A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56aee;
/* rgb */ color: rgb(181, 106, 238);
/* oklch */ color: oklch(66.3% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#ce97f4',
    500: '#b56aee',
    950: '#000000',
  },
}
SCSS
$custom: #b56aee;
$custom-light: #ce97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56aee",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 274.091,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66323,
    "c": 0.19734,
    "h": 308.2
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#B56AEE
secondary
#D7EFC5
accent
#DC0A64
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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