#B56CE8#B56CE8

#B56CE8 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.188 H 309.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B56CE8
RGBrgb(181, 108, 232)
HSLhsl(275, 73%, 67%)
HSVhsv(275, 53%, 91%)
CMYKcmyk(22%, 53.4%, 0%, 9%)
CIE-LABlab(58.39, 50.83, -51.73)
CIE-LCHlch(58.39, 72.52, 314.50°)
OKLaboklab(66.27% 0.1191 -0.1451)
OKLCHoklch(66.27% 0.188 309.4)
XYZxyz(38.9813, 26.3757, 79.3658)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CE8 #9FE86C
analogous
#776CE8 #B56CE8 #E86CDD
triadic
#B56CE8 #E8B56C #6CE8B5
tetradic
#B56CE8 #E8776C #9FE86C #6CDDE8
square
#B56CE8 #E8776C #9FE86C #6CDDE8
split-complementary
#B56CE8 #DDE86C #6CE877
monochromatic
#7B1DBC #9A37E0 #B56CE8 #D0A1F0 #EAD6F9

Accessibility & contrast

On white

3.35
#B56CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B56CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CE8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CE8#FFFFFF#000000##000000
##B56CE81.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EC
Deuteranopia (green-blind)
#5F8EE5
Tritanopia (blue-blind)
#AE82A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56ce8;
/* rgb */ color: rgb(181, 108, 232);
/* oklch */ color: oklch(66.3% 0.188 309.4);
Tailwind
colors: {
  custom: {
    50: '#ce99f0',
    500: '#b56ce8',
    950: '#000000',
  },
}
SCSS
$custom: #b56ce8;
$custom-light: #ce99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ce8",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 275.323,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.1877,
    "h": 309.4
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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