#B56FEE#B56FEE

#B56FEE is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.190 H 307.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B56FEE
RGBrgb(181, 111, 238)
HSLhsl(273, 79%, 68%)
HSVhsv(273, 53%, 93%)
CMYKcmyk(23.9%, 53.4%, 0%, 6.7%)
CIE-LABlab(59.31, 50.60, -53.61)
CIE-LCHlch(59.31, 73.72, 313.35°)
OKLaboklab(67.05% 0.1156 -0.1506)
OKLCHoklch(67.05% 0.19 307.5)
XYZxyz(40.1700, 27.3662, 84.0384)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FEE #A8EE6F
analogous
#756FEE #B56FEE #EE6FE7
triadic
#B56FEE #EEB56F #6FEEB5
tetradic
#B56FEE #EE756F #A8EE6F #6FE7EE
square
#B56FEE #EE756F #A8EE6F #6FE7EE
split-complementary
#B56FEE #E7EE6F #6FEE75
monochromatic
#7A18CB #9938E8 #B56FEE #D1A6F4 #EDDCFB

Accessibility & contrast

On white

3.24
#B56FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B56FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FEE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FEE#FFFFFF#000000##000000
##B56FEE1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF2
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#AC86A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56fee;
/* rgb */ color: rgb(181, 111, 238);
/* oklch */ color: oklch(67.0% 0.190 307.5);
Tailwind
colors: {
  custom: {
    50: '#ce9bf4',
    500: '#b56fee',
    950: '#000000',
  },
}
SCSS
$custom: #b56fee;
$custom-light: #ce9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fee",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 273.071,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.18983,
    "h": 307.5
  },
  "luminance": 0.27366
}

Semantic roles & 50–950 ramp

primary
#B56FEE
secondary
#DAF0C9
accent
#DB0A68
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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