#B56DF9#B56DF9

#B56DF9 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.4% C 0.205 H 305.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B56DF9
RGBrgb(181, 109, 249)
HSLhsl(271, 92%, 70%)
HSVhsv(271, 56%, 98%)
CMYKcmyk(27.3%, 56.2%, 0%, 2.4%)
CIE-LABlab(59.53, 54.14, -59.36)
CIE-LCHlch(59.53, 80.34, 312.37°)
OKLaboklab(67.4% 0.1185 -0.1674)
OKLCHoklch(67.4% 0.205 305.3)
XYZxyz(41.6199, 27.6009, 92.7391)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF9 #B1F96D
analogous
#6F6DF9 #B56DF9 #F96DF7
triadic
#B56DF9 #F9B56D #6DF9B5
tetradic
#B56DF9 #F96F6D #B1F96D #6DF7F9
square
#B56DF9 #F96F6D #B1F96D #6DF7F9
split-complementary
#B56DF9 #F7F96D #6DF96F
monochromatic
#7909E2 #9732F7 #B56DF9 #D3A8FB #F0E2FE

Accessibility & contrast

On white

3.22
#B56DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B56DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF9#FFFFFF#000000##000000
##B56DF91.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFE
Deuteranopia (green-blind)
#5290F6
Tritanopia (blue-blind)
#A988A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56df9;
/* rgb */ color: rgb(181, 109, 249);
/* oklch */ color: oklch(67.4% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#cf99fc',
    500: '#b56df9',
    950: '#000000',
  },
}
SCSS
$custom: #b56df9;
$custom-light: #cf99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df9",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 270.857,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67403,
    "c": 0.20513,
    "h": 305.3
  },
  "luminance": 0.27601
}

Semantic roles & 50–950 ramp

primary
#B56DF9
secondary
#E0F4CD
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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