#B56FF4#B56FF4

#B56FF4 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.4% C 0.197 H 306.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B56FF4
RGBrgb(181, 111, 244)
HSLhsl(272, 86%, 70%)
HSVhsv(272, 55%, 96%)
CMYKcmyk(25.8%, 54.5%, 0%, 4.3%)
CIE-LABlab(59.64, 51.96, -56.42)
CIE-LCHlch(59.64, 76.70, 312.65°)
OKLaboklab(67.4% 0.1159 -0.1588)
OKLCHoklch(67.4% 0.197 306.1)
XYZxyz(41.0662, 27.7246, 88.7584)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF4 #AEF46F
analogous
#736FF4 #B56FF4 #F46FF0
triadic
#B56FF4 #F4B56F #6FF4B5
tetradic
#B56FF4 #F4736F #AEF46F #6FF0F4
square
#B56FF4 #F4736F #AEF46F #6FF0F4
split-complementary
#B56FF4 #F0F46F #6FF473
monochromatic
#7A11D8 #9836F0 #B56FF4 #D2A8F8 #EFE1FD

Accessibility & contrast

On white

3.21
#B56FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B56FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FF4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FF4#FFFFFF#000000##000000
##B56FF41.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF8
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#AB88A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ff4;
/* rgb */ color: rgb(181, 111, 244);
/* oklch */ color: oklch(67.4% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#ce9bf8',
    500: '#b56ff4',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff4;
$custom-light: #ce9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff4",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 271.579,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67395,
    "c": 0.19658,
    "h": 306.1
  },
  "luminance": 0.27724
}

Semantic roles & 50–950 ramp

primary
#B56FF4
secondary
#DEF2CC
accent
#E2036D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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