#B56AE9#B56AE9

#B56AE9 is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.0% C 0.192 H 309.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B56AE9
RGBrgb(181, 106, 233)
HSLhsl(275, 74%, 66%)
HSVhsv(275, 55%, 91%)
CMYKcmyk(22.3%, 54.5%, 0%, 8.6%)
CIE-LABlab(58.05, 52.09, -52.83)
CIE-LCHlch(58.05, 74.19, 314.59°)
OKLaboklab(66.03% 0.1217 -0.1483)
OKLCHoklch(66.03% 0.192 309.4)
XYZxyz(38.9152, 26.0157, 80.0465)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AE9 #9EE96A
analogous
#766AE9 #B56AE9 #E96ADE
triadic
#B56AE9 #E9B56A #6AE9B5
tetradic
#B56AE9 #E9766A #9EE96A #6ADEE9
square
#B56AE9 #E9766A #9EE96A #6ADEE9
split-complementary
#B56AE9 #DEE96A #6AE976
monochromatic
#7B1CBD #9B35E1 #B56AE9 #CF9FF1 #EAD5F9

Accessibility & contrast

On white

3.39
#B56AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B56AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AE9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AE9#FFFFFF#000000##000000
##B56AE91.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288ED
Deuteranopia (green-blind)
#5C8DE6
Tritanopia (blue-blind)
#AE81A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56ae9;
/* rgb */ color: rgb(181, 106, 233);
/* oklch */ color: oklch(66.0% 0.192 309.4);
Tailwind
colors: {
  custom: {
    50: '#ce97f0',
    500: '#b56ae9',
    950: '#000000',
  },
}
SCSS
$custom: #b56ae9;
$custom-light: #ce97f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ae9",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 275.433,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.19184,
    "h": 309.4
  },
  "luminance": 0.26015
}

Semantic roles & 50–950 ramp

primary
#B56AE9
secondary
#D4ECC3
accent
#D60F61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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