#B56BEA#B56BEA

#B56BEA is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.191 H 309.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B56BEA
RGBrgb(181, 107, 234)
HSLhsl(275, 75%, 67%)
HSVhsv(275, 54%, 92%)
CMYKcmyk(22.6%, 54.3%, 0%, 8.2%)
CIE-LABlab(58.30, 51.79, -52.99)
CIE-LCHlch(58.30, 74.10, 314.35°)
OKLaboklab(66.24% 0.1205 -0.1488)
OKLCHoklch(66.24% 0.191 309)
XYZxyz(39.1621, 26.2803, 80.8355)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BEA #A0EA6B
analogous
#766BEA #B56BEA #EA6BDF
triadic
#B56BEA #EAB56B #6BEAB5
tetradic
#B56BEA #EA766B #A0EA6B #6BDFEA
square
#B56BEA #EA766B #A0EA6B #6BDFEA
split-complementary
#B56BEA #DFEA6B #6BEA76
monochromatic
#7B1BBF #9A35E2 #B56BEA #D0A1F2 #EBD6F9

Accessibility & contrast

On white

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

On black

6.26
#B56BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BEA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BEA#FFFFFF#000000##000000
##B56BEA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#5D8DE7
Tritanopia (blue-blind)
#AE82A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56bea;
/* rgb */ color: rgb(181, 107, 234);
/* oklch */ color: oklch(66.2% 0.191 309.0);
Tailwind
colors: {
  custom: {
    50: '#ce98f1',
    500: '#b56bea',
    950: '#000000',
  },
}
SCSS
$custom: #b56bea;
$custom-light: #ce98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bea",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 274.961,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66235,
    "c": 0.19143,
    "h": 309
  },
  "luminance": 0.2628
}

Semantic roles & 50–950 ramp

primary
#B56BEA
secondary
#D5EDC4
accent
#D70E62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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