#B56EFD#B56EFD

#B56EFD is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.8% C 0.208 H 304.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B56EFD
RGBrgb(181, 110, 253)
HSLhsl(270, 97%, 71%)
HSVhsv(270, 57%, 99%)
CMYKcmyk(28.5%, 56.5%, 0%, 0.8%)
CIE-LABlab(59.95, 54.55, -60.89)
CIE-LCHlch(59.95, 81.75, 311.85°)
OKLaboklab(67.79% 0.1174 -0.1719)
OKLCHoklch(67.79% 0.208 304.3)
XYZxyz(42.3577, 28.0676, 96.0956)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EFD #B6FD6E
analogous
#6E6EFD #B56EFD #FC6EFD
triadic
#B56EFD #FDB56E #6EFDB5
tetradic
#B56EFD #FD6E6E #B6FD6E #6EFDFC
square
#B56EFD #FD6E6E #B6FD6E #6EFDFC
split-complementary
#B56EFD #FDFC6E #6EFD6E
monochromatic
#7703ED #9632FC #B56EFD #D4AAFE #F0E1FF

Accessibility & contrast

On white

3.18
#B56EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B56EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EFD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EFD#FFFFFF#000000##000000
##B56EFD1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#5090FA
Tritanopia (blue-blind)
#A88AAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56efd;
/* rgb */ color: rgb(181, 110, 253);
/* oklch */ color: oklch(67.8% 0.208 304.3);
Tailwind
colors: {
  custom: {
    50: '#cf9aff',
    500: '#b56efd',
    950: '#000000',
  },
}
SCSS
$custom: #b56efd;
$custom-light: #cf9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56efd",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 269.79,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.20814,
    "h": 304.3
  },
  "luminance": 0.28067
}

Semantic roles & 50–950 ramp

primary
#B56EFD
secondary
#E4F6D1
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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