#B56AEB#B56AEB

#B56AEB is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.1% C 0.194 H 308.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B56AEB
RGBrgb(181, 106, 235)
HSLhsl(275, 76%, 67%)
HSVhsv(275, 55%, 92%)
CMYKcmyk(23%, 54.9%, 0%, 7.8%)
CIE-LABlab(58.16, 52.53, -53.77)
CIE-LCHlch(58.16, 75.17, 314.33°)
OKLaboklab(66.15% 0.1218 -0.151)
OKLCHoklch(66.15% 0.194 308.9)
XYZxyz(39.2026, 26.1306, 81.5597)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AEB #A0EB6A
analogous
#756AEB #B56AEB #EB6AE0
triadic
#B56AEB #EBB56A #6AEBB5
tetradic
#B56AEB #EB756A #A0EB6A #6AE0EB
square
#B56AEB #EB756A #A0EB6A #6AE0EB
split-complementary
#B56AEB #E0EB6A #6AEB75
monochromatic
#7B1AC1 #9A34E4 #B56AEB #D0A0F2 #EBD6F9

Accessibility & contrast

On white

3.37
#B56AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B56AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AEB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AEB#FFFFFF#000000##000000
##B56AEB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089EF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#AD81A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56aeb;
/* rgb */ color: rgb(181, 106, 235);
/* oklch */ color: oklch(66.1% 0.194 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce97f2',
    500: '#b56aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b56aeb;
$custom-light: #ce97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b56aeb",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 274.884,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66149,
    "c": 0.19405,
    "h": 308.9
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#B56AEB
secondary
#D5EDC4
accent
#D90D62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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