#B56EF1#B56EF1

#B56EF1 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.195 H 306.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B56EF1
RGBrgb(181, 110, 241)
HSLhsl(273, 82%, 69%)
HSVhsv(273, 54%, 95%)
CMYKcmyk(24.9%, 54.4%, 0%, 5.5%)
CIE-LABlab(59.28, 51.80, -55.33)
CIE-LCHlch(59.28, 75.80, 313.11°)
OKLaboklab(67.07% 0.117 -0.1556)
OKLCHoklch(67.07% 0.195 306.9)
XYZxyz(40.5059, 27.3269, 86.3428)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF1 #AAF16E
analogous
#746EF1 #B56EF1 #F16EEC
triadic
#B56EF1 #F1B56E #6EF1B5
tetradic
#B56EF1 #F1746E #AAF16E #6EECF1
square
#B56EF1 #F1746E #AAF16E #6EECF1
split-complementary
#B56EF1 #ECF16E #6EF174
monochromatic
#7A14D0 #9936EC #B56EF1 #D1A6F6 #EEDEFC

Accessibility & contrast

On white

3.25
#B56EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56EF1#FFFFFF#000000##000000
##B56EF11.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#AC86A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef1;
/* rgb */ color: rgb(181, 110, 241);
/* oklch */ color: oklch(67.1% 0.195 306.9);
Tailwind
colors: {
  custom: {
    50: '#ce9af6',
    500: '#b56ef1',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef1;
$custom-light: #ce9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef1",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 272.519,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.1947,
    "h": 306.9
  },
  "luminance": 0.27326
}

Semantic roles & 50–950 ramp

primary
#B56EF1
secondary
#DCF1CA
accent
#DF076A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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