#B56EFB#B56EFB

#B56EFB is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.7% C 0.206 H 304.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B56EFB
RGBrgb(181, 110, 251)
HSLhsl(270, 95%, 71%)
HSVhsv(270, 56%, 98%)
CMYKcmyk(27.9%, 56.2%, 0%, 1.6%)
CIE-LABlab(59.84, 54.09, -59.97)
CIE-LCHlch(59.84, 80.76, 312.04°)
OKLaboklab(67.67% 0.1173 -0.1692)
OKLCHoklch(67.67% 0.206 304.7)
XYZxyz(42.0408, 27.9409, 94.4264)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EFB #B4FB6E
analogous
#6E6EFB #B56EFB #FB6EFA
triadic
#B56EFB #FBB56E #6EFBB5
tetradic
#B56EFB #FB6E6E #B4FB6E #6EFAFB
square
#B56EFB #FB6E6E #B4FB6E #6EFAFB
split-complementary
#B56EFB #FAFB6E #6EFB6E
monochromatic
#7806E8 #9732F9 #B56EFB #D3AAFD #F0E1FE

Accessibility & contrast

On white

3.19
#B56EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B56EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EFB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EFB#FFFFFF#000000##000000
##B56EFB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#A989AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56efb;
/* rgb */ color: rgb(181, 110, 251);
/* oklch */ color: oklch(67.7% 0.206 304.7);
Tailwind
colors: {
  custom: {
    50: '#cf9afd',
    500: '#b56efb',
    950: '#000000',
  },
}
SCSS
$custom: #b56efb;
$custom-light: #cf9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56efb",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 270.213,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67666,
    "c": 0.20591,
    "h": 304.7
  },
  "luminance": 0.27941
}

Semantic roles & 50–950 ramp

primary
#B56EFB
secondary
#E2F5CF
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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