#B56DEF#B56DEF

#B56DEF is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.194 H 307.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B56DEF
RGBrgb(181, 109, 239)
HSLhsl(273, 80%, 68%)
HSVhsv(273, 54%, 94%)
CMYKcmyk(24.3%, 54.4%, 0%, 6.3%)
CIE-LABlab(58.97, 51.87, -54.71)
CIE-LCHlch(58.97, 75.39, 313.47°)
OKLaboklab(66.81% 0.1182 -0.1538)
OKLCHoklch(66.81% 0.194 307.5)
XYZxyz(40.1015, 26.9935, 84.7423)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DEF #A7EF6D
analogous
#746DEF #B56DEF #EF6DE8
triadic
#B56DEF #EFB56D #6DEFB5
tetradic
#B56DEF #EF746D #A7EF6D #6DE8EF
square
#B56DEF #EF746D #A7EF6D #6DE8EF
split-complementary
#B56DEF #E8EF6D #6DEF74
monochromatic
#7B16CB #9936E9 #B56DEF #D1A4F5 #EDDBFB

Accessibility & contrast

On white

3.28
#B56DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B56DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DEF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DEF#FFFFFF#000000##000000
##B56DEF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#AC85A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56def;
/* rgb */ color: rgb(181, 109, 239);
/* oklch */ color: oklch(66.8% 0.194 307.5);
Tailwind
colors: {
  custom: {
    50: '#ce99f5',
    500: '#b56def',
    950: '#000000',
  },
}
SCSS
$custom: #b56def;
$custom-light: #ce99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56def",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 273.231,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66813,
    "c": 0.19397,
    "h": 307.5
  },
  "luminance": 0.26993
}

Semantic roles & 50–950 ramp

primary
#B56DEF
secondary
#DAF0C8
accent
#DD0967
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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