#B56AEA#B56AEA

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

Color values

HEX#B56AEA
RGBrgb(181, 106, 234)
HSLhsl(275, 75%, 67%)
HSVhsv(275, 55%, 92%)
CMYKcmyk(22.6%, 54.7%, 0%, 8.2%)
CIE-LABlab(58.11, 52.31, -53.30)
CIE-LCHlch(58.11, 74.68, 314.46°)
OKLaboklab(66.09% 0.1218 -0.1497)
OKLCHoklch(66.09% 0.193 309.1)
XYZxyz(39.0585, 26.0730, 80.8009)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AEA #9FEA6A
analogous
#756AEA #B56AEA #EA6ADF
triadic
#B56AEA #EAB56A #6AEAB5
tetradic
#B56AEA #EA756A #9FEA6A #6ADFEA
square
#B56AEA #EA756A #9FEA6A #6ADFEA
split-complementary
#B56AEA #DFEA6A #6AEA75
monochromatic
#7B1BBF #9A34E2 #B56AEA #D0A0F2 #EAD5F9

Accessibility & contrast

On white

3.38
#B56AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B56AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AEA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AEA#FFFFFF#000000##000000
##B56AEA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#AE81A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56aea;
/* rgb */ color: rgb(181, 106, 234);
/* oklch */ color: oklch(66.1% 0.193 309.1);
Tailwind
colors: {
  custom: {
    50: '#ce97f1',
    500: '#b56aea',
    950: '#000000',
  },
}
SCSS
$custom: #b56aea;
$custom-light: #ce97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b56aea",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 275.156,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66091,
    "c": 0.19294,
    "h": 309.1
  },
  "luminance": 0.26072
}

Semantic roles & 50–950 ramp

primary
#B56AEA
secondary
#D4EDC3
accent
#D70E61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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