#B56FF8#B56FF8

#B56FF8 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.6% C 0.201 H 305.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B56FF8
RGBrgb(181, 111, 248)
HSLhsl(271, 91%, 70%)
HSVhsv(271, 55%, 97%)
CMYKcmyk(27%, 55.2%, 0%, 2.7%)
CIE-LABlab(59.86, 52.88, -58.28)
CIE-LCHlch(59.86, 78.69, 312.22°)
OKLaboklab(67.63% 0.116 -0.1642)
OKLCHoklch(67.63% 0.201 305.2)
XYZxyz(41.6801, 27.9702, 91.9918)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF8 #B2F86F
analogous
#706FF8 #B56FF8 #F86FF6
triadic
#B56FF8 #F8B56F #6FF8B5
tetradic
#B56FF8 #F8706F #B2F86F #6FF6F8
square
#B56FF8 #F8706F #B2F86F #6FF6F8
split-complementary
#B56FF8 #F6F86F #6FF870
monochromatic
#790BE2 #9735F5 #B56FF8 #D3A9FB #F0E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56FF8#FFFFFF#000000##000000
##B56FF81.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFD
Deuteranopia (green-blind)
#5690F5
Tritanopia (blue-blind)
#AA89A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ff8;
/* rgb */ color: rgb(181, 111, 248);
/* oklch */ color: oklch(67.6% 0.201 305.2);
Tailwind
colors: {
  custom: {
    50: '#cf9bfb',
    500: '#b56ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff8;
$custom-light: #cf9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff8",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 270.657,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67631,
    "c": 0.20109,
    "h": 305.2
  },
  "luminance": 0.2797
}

Semantic roles & 50–950 ramp

primary
#B56FF8
secondary
#E1F4CF
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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