#B56BE6#B56BE6

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

Color values

HEX#B56BE6
RGBrgb(181, 107, 230)
HSLhsl(276, 71%, 66%)
HSVhsv(276, 53%, 90%)
CMYKcmyk(21.3%, 53.5%, 0%, 9.8%)
CIE-LABlab(58.09, 50.91, -51.10)
CIE-LCHlch(58.09, 72.13, 314.89°)
OKLaboklab(66.01% 0.1203 -0.1432)
OKLCHoklch(66.01% 0.187 310)
XYZxyz(38.5940, 26.0530, 77.8432)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BE6 #9CE66B
analogous
#776BE6 #B56BE6 #E66BD9
triadic
#B56BE6 #E6B56B #6BE6B5
tetradic
#B56BE6 #E6776B #9CE66B #6BD9E6
square
#B56BE6 #E6776B #9CE66B #6BD9E6
split-complementary
#B56BE6 #D9E66B #6BE677
monochromatic
#7B1FB8 #9B37DD #B56BE6 #CF9FEF #E9D4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56BE6#FFFFFF#000000##000000
##B56BE61.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)
#4788EA
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#AF809F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56be6;
/* rgb */ color: rgb(181, 107, 230);
/* oklch */ color: oklch(66.0% 0.187 310.0);
Tailwind
colors: {
  custom: {
    50: '#ce98ee',
    500: '#b56be6',
    950: '#000000',
  },
}
SCSS
$custom: #b56be6;
$custom-light: #ce98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b56be6",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 276.098,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66007,
    "c": 0.18702,
    "h": 310
  },
  "luminance": 0.26052
}

Semantic roles & 50–950 ramp

primary
#B56BE6
secondary
#D2EBC2
accent
#D3125F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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