#B56CEE#B56CEE

#B56CEE is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.6% C 0.194 H 307.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B56CEE
RGBrgb(181, 108, 238)
HSLhsl(274, 79%, 68%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.9%, 54.6%, 0%, 6.7%)
CIE-LABlab(58.72, 52.17, -54.56)
CIE-LCHlch(58.72, 75.48, 313.72°)
OKLaboklab(66.61% 0.1194 -0.1533)
OKLCHoklch(66.61% 0.194 307.9)
XYZxyz(39.8481, 26.7224, 83.9311)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CEE #A5EE6C
analogous
#746CEE #B56CEE #EE6CE6
triadic
#B56CEE #EEB56C #6CEEB5
tetradic
#B56CEE #EE746C #A5EE6C #6CE6EE
square
#B56CEE #EE746C #A5EE6C #6CE6EE
split-complementary
#B56CEE #E6EE6C #6CEE74
monochromatic
#7B17C8 #9935E8 #B56CEE #D1A3F4 #ECDAFB

Accessibility & contrast

On white

3.31
#B56CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B56CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CEE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CEE#FFFFFF#000000##000000
##B56CEE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#AD84A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56cee;
/* rgb */ color: rgb(181, 108, 238);
/* oklch */ color: oklch(66.6% 0.194 307.9);
Tailwind
colors: {
  custom: {
    50: '#ce99f4',
    500: '#b56cee',
    950: '#000000',
  },
}
SCSS
$custom: #b56cee;
$custom-light: #ce99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cee",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 273.692,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6661,
    "c": 0.19435,
    "h": 307.9
  },
  "luminance": 0.26722
}

Semantic roles & 50–950 ramp

primary
#B56CEE
secondary
#D8EFC7
accent
#DC0A66
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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