#B56CF6#B56CF6

#B56CF6 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.1% C 0.203 H 306.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B56CF6
RGBrgb(181, 108, 246)
HSLhsl(272, 88%, 69%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(26.4%, 56.1%, 0%, 3.5%)
CIE-LABlab(59.16, 53.97, -58.29)
CIE-LCHlch(59.16, 79.44, 312.80°)
OKLaboklab(67.08% 0.1197 -0.1643)
OKLCHoklch(67.08% 0.203 306.1)
XYZxyz(41.0497, 27.2030, 90.2591)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF6 #ADF66C
analogous
#706CF6 #B56CF6 #F66CF2
triadic
#B56CF6 #F6B56C #6CF6B5
tetradic
#B56CF6 #F6706C #ADF66C #6CF2F6
square
#B56CF6 #F6706C #ADF66C #6CF2F6
split-complementary
#B56CF6 #F2F66C #6CF670
monochromatic
#7A0DDA #9832F2 #B56CF6 #D2A6FA #EFDFFD

Accessibility & contrast

On white

3.26
#B56CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B56CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF6#FFFFFF#000000##000000
##B56CF61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFB
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#AA86A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56cf6;
/* rgb */ color: rgb(181, 108, 246);
/* oklch */ color: oklch(67.1% 0.203 306.1);
Tailwind
colors: {
  custom: {
    50: '#cf99fa',
    500: '#b56cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf6;
$custom-light: #cf99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf6",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 271.739,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67081,
    "c": 0.20324,
    "h": 306.1
  },
  "luminance": 0.27203
}

Semantic roles & 50–950 ramp

primary
#B56CF6
secondary
#DEF3CB
accent
#E5006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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