#B56AEC#B56AEC

#B56AEC is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.2% C 0.195 H 308.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B56AEC
RGBrgb(181, 106, 236)
HSLhsl(275, 77%, 67%)
HSVhsv(275, 55%, 93%)
CMYKcmyk(23.3%, 55.1%, 0%, 7.5%)
CIE-LABlab(58.22, 52.75, -54.24)
CIE-LCHlch(58.22, 75.66, 314.20°)
OKLaboklab(66.21% 0.1219 -0.1524)
OKLCHoklch(66.21% 0.195 308.6)
XYZxyz(39.3474, 26.1885, 82.3227)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AEC #A1EC6A
analogous
#746AEC #B56AEC #EC6AE2
triadic
#B56AEC #ECB56A #6AECB5
tetradic
#B56AEC #EC746A #A1EC6A #6AE2EC
square
#B56AEC #EC746A #A1EC6A #6AE2EC
split-complementary
#B56AEC #E2EC6A #6AEC74
monochromatic
#7B19C3 #9A34E5 #B56AEC #D0A0F3 #EBD7FA

Accessibility & contrast

On white

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

On black

6.24
#B56AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AEC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AEC#FFFFFF#000000##000000
##B56AEC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#AD82A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56aec;
/* rgb */ color: rgb(181, 106, 236);
/* oklch */ color: oklch(66.2% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#ce97f3',
    500: '#b56aec',
    950: '#000000',
  },
}
SCSS
$custom: #b56aec;
$custom-light: #ce97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56aec",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 274.615,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.19514,
    "h": 308.6
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#B56AEC
secondary
#D6EEC4
accent
#DA0C63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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