#B56EF8#B56EF8

#B56EF8 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.5% C 0.203 H 305.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B56EF8
RGBrgb(181, 110, 248)
HSLhsl(271, 91%, 70%)
HSVhsv(271, 56%, 97%)
CMYKcmyk(27%, 55.6%, 0%, 2.7%)
CIE-LABlab(59.67, 53.40, -58.59)
CIE-LCHlch(59.67, 79.27, 312.34°)
OKLaboklab(67.49% 0.1173 -0.1652)
OKLCHoklch(67.49% 0.203 305.4)
XYZxyz(41.5716, 27.7532, 91.9556)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF8 #B1F86E
analogous
#706EF8 #B56EF8 #F86EF6
triadic
#B56EF8 #F8B56E #6EF8B5
tetradic
#B56EF8 #F8706E #B1F86E #6EF6F8
square
#B56EF8 #F8706E #B1F86E #6EF6F8
split-complementary
#B56EF8 #F6F86E #6EF870
monochromatic
#790BE1 #9734F5 #B56EF8 #D3A8FB #F0E2FE

Accessibility & contrast

On white

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

On black

6.55
#B56EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF8#FFFFFF#000000##000000
##B56EF81.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFD
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#AA88A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ef8;
/* rgb */ color: rgb(181, 110, 248);
/* oklch */ color: oklch(67.5% 0.203 305.4);
Tailwind
colors: {
  custom: {
    50: '#cf9afb',
    500: '#b56ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef8;
$custom-light: #cf9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef8",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 270.87,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67486,
    "c": 0.20255,
    "h": 305.4
  },
  "luminance": 0.27753
}

Semantic roles & 50–950 ramp

primary
#B56EF8
secondary
#E0F4CE
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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