#B56AED#B56AED

#B56AED is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.3% C 0.196 H 308.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B56AED
RGBrgb(181, 106, 237)
HSLhsl(274, 78%, 67%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.6%, 55.3%, 0%, 7.1%)
CIE-LABlab(58.27, 52.97, -54.71)
CIE-LCHlch(58.27, 76.15, 314.07°)
OKLaboklab(66.27% 0.1219 -0.1538)
OKLCHoklch(66.27% 0.196 308.4)
XYZxyz(39.4931, 26.2468, 83.0900)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AED #A2ED6A
analogous
#746AED #B56AED #ED6AE4
triadic
#B56AED #EDB56A #6AEDB5
tetradic
#B56AED #ED746A #A2ED6A #6AE4ED
square
#B56AED #ED746A #A2ED6A #6AE4ED
split-complementary
#B56AED #E4ED6A #6AED74
monochromatic
#7B18C5 #9A33E6 #B56AED #D0A1F4 #EBD7FA

Accessibility & contrast

On white

3.36
#B56AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B56AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AED
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AED#FFFFFF#000000##000000
##B56AED1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b56aed;
/* rgb */ color: rgb(181, 106, 237);
/* oklch */ color: oklch(66.3% 0.196 308.4);
Tailwind
colors: {
  custom: {
    50: '#ce97f3',
    500: '#b56aed',
    950: '#000000',
  },
}
SCSS
$custom: #b56aed;
$custom-light: #ce97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56aed",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 274.351,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66265,
    "c": 0.19624,
    "h": 308.4
  },
  "luminance": 0.26246
}

Semantic roles & 50–950 ramp

primary
#B56AED
secondary
#D6EEC5
accent
#DB0B64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AED

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

Preview Lab → · Contrast checker → · Palette generator →

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