#B56BF6#B56BF6

#B56BF6 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.9% C 0.205 H 306.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B56BF6
RGBrgb(181, 107, 246)
HSLhsl(272, 89%, 69%)
HSVhsv(272, 57%, 96%)
CMYKcmyk(26.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(58.97, 54.48, -58.60)
CIE-LCHlch(58.97, 80.01, 312.92°)
OKLaboklab(66.94% 0.1209 -0.1652)
OKLCHoklch(66.94% 0.205 306.2)
XYZxyz(40.9448, 26.9933, 90.2241)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF6 #ACF66B
analogous
#706BF6 #B56BF6 #F66BF2
triadic
#B56BF6 #F6B56B #6BF6B5
tetradic
#B56BF6 #F6706B #ACF66B #6BF2F6
square
#B56BF6 #F6706B #ACF66B #6BF2F6
split-complementary
#B56BF6 #F2F66B #6BF670
monochromatic
#7A0DD9 #9831F2 #B56BF6 #D2A5FA #EFDEFD

Accessibility & contrast

On white

3.28
#B56BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B56BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF6#FFFFFF#000000##000000
##B56BF61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BFB
Deuteranopia (green-blind)
#538EF3
Tritanopia (blue-blind)
#AA86A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bf6;
/* rgb */ color: rgb(181, 107, 246);
/* oklch */ color: oklch(66.9% 0.205 306.2);
Tailwind
colors: {
  custom: {
    50: '#cf98fa',
    500: '#b56bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf6;
$custom-light: #cf98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf6",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 271.942,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.2047,
    "h": 306.2
  },
  "luminance": 0.26993
}

Semantic roles & 50–950 ramp

primary
#B56BF6
secondary
#DDF3CA
accent
#E5006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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