#B56BE8#B56BE8

#B56BE8 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.189 H 309.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B56BE8
RGBrgb(181, 107, 232)
HSLhsl(276, 73%, 66%)
HSVhsv(276, 54%, 91%)
CMYKcmyk(22%, 53.9%, 0%, 9%)
CIE-LABlab(58.19, 51.35, -52.04)
CIE-LCHlch(58.19, 73.11, 314.61°)
OKLaboklab(66.12% 0.1204 -0.146)
OKLCHoklch(66.12% 0.189 309.5)
XYZxyz(38.8765, 26.1660, 79.3308)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BE8 #9EE86B
analogous
#776BE8 #B56BE8 #E86BDD
triadic
#B56BE8 #E8B56B #6BE8B5
tetradic
#B56BE8 #E8776B #9EE86B #6BDDE8
square
#B56BE8 #E8776B #9EE86B #6BDDE8
split-complementary
#B56BE8 #DDE86B #6BE877
monochromatic
#7B1DBB #9B36E0 #B56BE8 #CFA0F0 #EAD5F8

Accessibility & contrast

On white

3.37
#B56BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B56BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BE8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BE8#FFFFFF#000000##000000
##B56BE81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EC
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#AE819F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56be8;
/* rgb */ color: rgb(181, 107, 232);
/* oklch */ color: oklch(66.1% 0.189 309.5);
Tailwind
colors: {
  custom: {
    50: '#ce98f0',
    500: '#b56be8',
    950: '#000000',
  },
}
SCSS
$custom: #b56be8;
$custom-light: #ce98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56be8",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 275.52,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.18922,
    "h": 309.5
  },
  "luminance": 0.26165
}

Semantic roles & 50–950 ramp

primary
#B56BE8
secondary
#D4ECC3
accent
#D51061
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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