#B56DF6#B56DF6

#B56DF6 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.2% C 0.202 H 305.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B56DF6
RGBrgb(181, 109, 246)
HSLhsl(272, 88%, 70%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(26.4%, 55.7%, 0%, 3.5%)
CIE-LABlab(59.36, 53.46, -57.98)
CIE-LCHlch(59.36, 78.86, 312.68°)
OKLaboklab(67.22% 0.1184 -0.1634)
OKLCHoklch(67.22% 0.202 305.9)
XYZxyz(41.1557, 27.4152, 90.2944)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF6 #AEF66D
analogous
#716DF6 #B56DF6 #F66DF2
triadic
#B56DF6 #F6B56D #6DF6B5
tetradic
#B56DF6 #F6716D #AEF66D #6DF2F6
square
#B56DF6 #F6716D #AEF66D #6DF2F6
split-complementary
#B56DF6 #F2F66D #6DF671
monochromatic
#7A0EDB #9833F2 #B56DF6 #D2A7FA #EFE0FD

Accessibility & contrast

On white

3.24
#B56DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B56DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF6#FFFFFF#000000##000000
##B56DF61.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFB
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#AA87A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56df6;
/* rgb */ color: rgb(181, 109, 246);
/* oklch */ color: oklch(67.2% 0.202 305.9);
Tailwind
colors: {
  custom: {
    50: '#cf99fa',
    500: '#b56df6',
    950: '#000000',
  },
}
SCSS
$custom: #b56df6;
$custom-light: #cf99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df6",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 271.533,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67224,
    "c": 0.20178,
    "h": 305.9
  },
  "luminance": 0.27415
}

Semantic roles & 50–950 ramp

primary
#B56DF6
secondary
#DEF3CC
accent
#E5016D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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