#B56CEA#B56CEA

#B56CEA is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.190 H 308.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B56CEA
RGBrgb(181, 108, 234)
HSLhsl(275, 75%, 67%)
HSVhsv(275, 54%, 92%)
CMYKcmyk(22.6%, 53.8%, 0%, 8.2%)
CIE-LABlab(58.50, 51.27, -52.68)
CIE-LCHlch(58.50, 73.51, 314.23°)
OKLaboklab(66.38% 0.1192 -0.1478)
OKLCHoklch(66.38% 0.19 308.9)
XYZxyz(39.2670, 26.4900, 80.8704)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CEA #A1EA6C
analogous
#766CEA #B56CEA #EA6CE0
triadic
#B56CEA #EAB56C #6CEAB5
tetradic
#B56CEA #EA766C #A1EA6C #6CE0EA
square
#B56CEA #EA766C #A1EA6C #6CE0EA
split-complementary
#B56CEA #E0EA6C #6CEA76
monochromatic
#7B1BC0 #9A36E2 #B56CEA #D0A2F2 #EBD7F9

Accessibility & contrast

On white

3.33
#B56CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B56CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CEA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CEA#FFFFFF#000000##000000
##B56CEA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEE
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#AE82A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56cea;
/* rgb */ color: rgb(181, 108, 234);
/* oklch */ color: oklch(66.4% 0.190 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce99f1',
    500: '#b56cea',
    950: '#000000',
  },
}
SCSS
$custom: #b56cea;
$custom-light: #ce99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cea",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 274.762,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6638,
    "c": 0.18992,
    "h": 308.9
  },
  "luminance": 0.26489
}

Semantic roles & 50–950 ramp

primary
#B56CEA
secondary
#D6EDC5
accent
#D70E63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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