#B56EEF#B56EEF

#B56EEF is a light, vivid violet. Relative luminance 0.272; OKLCH L 67.0% C 0.192 H 307.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B56EEF
RGBrgb(181, 110, 239)
HSLhsl(273, 80%, 68%)
HSVhsv(273, 54%, 94%)
CMYKcmyk(24.3%, 54%, 0%, 6.3%)
CIE-LABlab(59.17, 51.35, -54.40)
CIE-LCHlch(59.17, 74.81, 313.35°)
OKLaboklab(66.96% 0.1169 -0.1529)
OKLCHoklch(66.96% 0.192 307.4)
XYZxyz(40.2088, 27.2081, 84.7781)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EEF #A8EF6E
analogous
#746EEF #B56EEF #EF6EE9
triadic
#B56EEF #EFB56E #6EEFB5
tetradic
#B56EEF #EF746E #A8EF6E #6EE9EF
square
#B56EEF #EF746E #A8EF6E #6EE9EF
split-complementary
#B56EEF #E9EF6E #6EEF74
monochromatic
#7A17CC #9937E9 #B56EEF #D1A5F5 #EDDCFB

Accessibility & contrast

On white

3.26
#B56EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B56EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EEF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EEF#FFFFFF#000000##000000
##B56EEF1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#AC85A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56eef;
/* rgb */ color: rgb(181, 110, 239);
/* oklch */ color: oklch(67.0% 0.192 307.4);
Tailwind
colors: {
  custom: {
    50: '#ce9af5',
    500: '#b56eef',
    950: '#000000',
  },
}
SCSS
$custom: #b56eef;
$custom-light: #ce9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56eef",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 273.023,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66959,
    "c": 0.19247,
    "h": 307.4
  },
  "luminance": 0.27208
}

Semantic roles & 50–950 ramp

primary
#B56EEF
secondary
#DAF0C9
accent
#DC0968
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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