#B56BE9#B56BE9

#B56BE9 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.2% C 0.190 H 309.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B56BE9
RGBrgb(181, 107, 233)
HSLhsl(275, 74%, 67%)
HSVhsv(275, 54%, 91%)
CMYKcmyk(22.3%, 54.1%, 0%, 8.6%)
CIE-LABlab(58.25, 51.57, -52.52)
CIE-LCHlch(58.25, 73.60, 314.48°)
OKLaboklab(66.18% 0.1204 -0.1474)
OKLCHoklch(66.18% 0.19 309.3)
XYZxyz(39.0189, 26.2230, 80.0810)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BE9 #9FE96B
analogous
#766BE9 #B56BE9 #E96BDE
triadic
#B56BE9 #E9B56B #6BE9B5
tetradic
#B56BE9 #E9766B #9FE96B #6BDEE9
square
#B56BE9 #E9766B #9FE96B #6BDEE9
split-complementary
#B56BE9 #DEE96B #6BE976
monochromatic
#7B1CBD #9A36E1 #B56BE9 #D0A0F1 #EAD6F9

Accessibility & contrast

On white

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

On black

6.24
#B56BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BE9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BE9#FFFFFF#000000##000000
##B56BE91.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489ED
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#AE81A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56be9;
/* rgb */ color: rgb(181, 107, 233);
/* oklch */ color: oklch(66.2% 0.190 309.3);
Tailwind
colors: {
  custom: {
    50: '#ce98f0',
    500: '#b56be9',
    950: '#000000',
  },
}
SCSS
$custom: #b56be9;
$custom-light: #ce98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56be9",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 275.238,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66178,
    "c": 0.19033,
    "h": 309.3
  },
  "luminance": 0.26222
}

Semantic roles & 50–950 ramp

primary
#B56BE9
secondary
#D4ECC4
accent
#D60F61
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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