#B56FF5#B56FF5

#B56FF5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.198 H 305.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B56FF5
RGBrgb(181, 111, 245)
HSLhsl(271, 87%, 70%)
HSVhsv(271, 55%, 96%)
CMYKcmyk(26.1%, 54.7%, 0%, 3.9%)
CIE-LABlab(59.69, 52.19, -56.88)
CIE-LCHlch(59.69, 77.20, 312.54°)
OKLaboklab(67.45% 0.1159 -0.1602)
OKLCHoklch(67.45% 0.198 305.9)
XYZxyz(41.2184, 27.7855, 89.5602)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF5 #AFF56F
analogous
#726FF5 #B56FF5 #F56FF2
triadic
#B56FF5 #F5B56F #6FF5B5
tetradic
#B56FF5 #F5726F #AFF56F #6FF2F5
square
#B56FF5 #F5726F #AFF56F #6FF2F5
split-complementary
#B56FF5 #F2F56F #6FF572
monochromatic
#790FDA #9836F1 #B56FF5 #D2A8F9 #F0E1FD

Accessibility & contrast

On white

3.20
#B56FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B56FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FF5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FF5#FFFFFF#000000##000000
##B56FF51.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#AB88A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ff5;
/* rgb */ color: rgb(181, 111, 245);
/* oklch */ color: oklch(67.5% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#ce9bf9',
    500: '#b56ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff5;
$custom-light: #ce9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff5",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 271.343,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67454,
    "c": 0.19771,
    "h": 305.9
  },
  "luminance": 0.27785
}

Semantic roles & 50–950 ramp

primary
#B56FF5
secondary
#DFF3CD
accent
#E4026E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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