#B56BEF#B56BEF

#B56BEF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.5% C 0.197 H 307.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B56BEF
RGBrgb(181, 107, 239)
HSLhsl(274, 80%, 68%)
HSVhsv(274, 55%, 94%)
CMYKcmyk(24.3%, 55.2%, 0%, 6.3%)
CIE-LABlab(58.58, 52.91, -55.34)
CIE-LCHlch(58.58, 76.56, 313.71°)
OKLaboklab(66.53% 0.1207 -0.1556)
OKLCHoklch(66.53% 0.197 307.8)
XYZxyz(39.8906, 26.5717, 84.6720)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BEF #A5EF6B
analogous
#736BEF #B56BEF #EF6BE7
triadic
#B56BEF #EFB56B #6BEFB5
tetradic
#B56BEF #EF736B #A5EF6B #6BE7EF
square
#B56BEF #EF736B #A5EF6B #6BE7EF
split-complementary
#B56BEF #E7EF6B #6BEF73
monochromatic
#7B16CA #9934E9 #B56BEF #D1A2F5 #ECD9FB

Accessibility & contrast

On white

3.33
#B56BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B56BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BEF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BEF#FFFFFF#000000##000000
##B56BEF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#AC83A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56bef;
/* rgb */ color: rgb(181, 107, 239);
/* oklch */ color: oklch(66.5% 0.197 307.8);
Tailwind
colors: {
  custom: {
    50: '#ce98f5',
    500: '#b56bef',
    950: '#000000',
  },
}
SCSS
$custom: #b56bef;
$custom-light: #ce98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bef",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 273.636,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.19696,
    "h": 307.8
  },
  "luminance": 0.26571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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