#B56BF8#B56BF8

#B56BF8 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.1% C 0.207 H 305.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B56BF8
RGBrgb(181, 107, 248)
HSLhsl(271, 91%, 70%)
HSVhsv(271, 57%, 97%)
CMYKcmyk(27%, 56.9%, 0%, 2.7%)
CIE-LABlab(59.08, 54.94, -59.52)
CIE-LCHlch(59.08, 81.00, 312.71°)
OKLaboklab(67.06% 0.1209 -0.1679)
OKLCHoklch(67.06% 0.207 305.8)
XYZxyz(41.2534, 27.1168, 91.8495)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF8 #AEF86B
analogous
#6E6BF8 #B56BF8 #F86BF5
triadic
#B56BF8 #F8B56B #6BF8B5
tetradic
#B56BF8 #F86E6B #AEF86B #6BF5F8
square
#B56BF8 #F86E6B #AEF86B #6BF5F8
split-complementary
#B56BF8 #F5F86B #6BF86E
monochromatic
#7A0BDE #9831F5 #B56BF8 #D2A5FB #EFE0FE

Accessibility & contrast

On white

3.27
#B56BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B56BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF8#FFFFFF#000000##000000
##B56BF81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFD
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#AA86A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bf8;
/* rgb */ color: rgb(181, 107, 248);
/* oklch */ color: oklch(67.1% 0.207 305.8);
Tailwind
colors: {
  custom: {
    50: '#cf98fb',
    500: '#b56bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf8;
$custom-light: #cf98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf8",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 271.489,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.20691,
    "h": 305.8
  },
  "luminance": 0.27116
}

Semantic roles & 50–950 ramp

primary
#B56BF8
secondary
#DEF4CB
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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