#B56CE7#B56CE7

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

Color values

HEX#B56CE7
RGBrgb(181, 108, 231)
HSLhsl(276, 72%, 66%)
HSVhsv(276, 53%, 91%)
CMYKcmyk(21.6%, 53.2%, 0%, 9.4%)
CIE-LABlab(58.34, 50.61, -51.26)
CIE-LCHlch(58.34, 72.03, 314.64°)
OKLaboklab(66.21% 0.119 -0.1437)
OKLCHoklch(66.21% 0.187 309.6)
XYZxyz(38.8397, 26.3191, 78.6198)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CE7 #9EE76C
analogous
#786CE7 #B56CE7 #E76CDC
triadic
#B56CE7 #E7B56C #6CE7B5
tetradic
#B56CE7 #E7786C #9EE76C #6CDCE7
square
#B56CE7 #E7786C #9EE76C #6CDCE7
split-complementary
#B56CE7 #DCE76C #6CE778
monochromatic
#7B1EBA #9B37DE #B56CE7 #CFA1F0 #EAD5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56CE7#FFFFFF#000000##000000
##B56CE71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EB
Deuteranopia (green-blind)
#608DE4
Tritanopia (blue-blind)
#AE819F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56ce7;
/* rgb */ color: rgb(181, 108, 231);
/* oklch */ color: oklch(66.2% 0.187 309.6);
Tailwind
colors: {
  custom: {
    50: '#ce98ef',
    500: '#b56ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b56ce7;
$custom-light: #ce98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ce7",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 275.61,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6621,
    "c": 0.18659,
    "h": 309.6
  },
  "luminance": 0.26318
}

Semantic roles & 50–950 ramp

primary
#B56CE7
secondary
#D4EBC3
accent
#D41261
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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