#B56DF0#B56DF0

#B56DF0 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.9% C 0.195 H 307.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B56DF0
RGBrgb(181, 109, 240)
HSLhsl(273, 81%, 68%)
HSVhsv(273, 55%, 94%)
CMYKcmyk(24.6%, 54.6%, 0%, 5.9%)
CIE-LABlab(59.02, 52.10, -55.18)
CIE-LCHlch(59.02, 75.89, 313.35°)
OKLaboklab(66.87% 0.1182 -0.1552)
OKLCHoklch(66.87% 0.195 307.3)
XYZxyz(40.2497, 27.0528, 85.5225)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF0 #A8F06D
analogous
#736DF0 #B56DF0 #F06DE9
triadic
#B56DF0 #F0B56D #6DF0B5
tetradic
#B56DF0 #F0736D #A8F06D #6DE9F0
square
#B56DF0 #F0736D #A8F06D #6DE9F0
split-complementary
#B56DF0 #E9F06D #6DF073
monochromatic
#7A15CD #9936EA #B56DF0 #D1A4F6 #EDDCFB

Accessibility & contrast

On white

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

On black

6.41
#B56DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF0
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF0#FFFFFF#000000##000000
##B56DF01.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF4
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#AC85A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56df0;
/* rgb */ color: rgb(181, 109, 240);
/* oklch */ color: oklch(66.9% 0.195 307.3);
Tailwind
colors: {
  custom: {
    50: '#ce99f5',
    500: '#b56df0',
    950: '#000000',
  },
}
SCSS
$custom: #b56df0;
$custom-light: #ce99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df0",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 240
  },
  "hsl": {
    "h": 272.977,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66871,
    "c": 0.19508,
    "h": 307.3
  },
  "luminance": 0.27052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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