#B56BF9#B56BF9

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

Color values

HEX#B56BF9
RGBrgb(181, 107, 249)
HSLhsl(271, 92%, 70%)
HSVhsv(271, 57%, 98%)
CMYKcmyk(27.3%, 57%, 0%, 2.4%)
CIE-LABlab(59.14, 55.17, -59.98)
CIE-LCHlch(59.14, 81.49, 312.60°)
OKLaboklab(67.12% 0.121 -0.1692)
OKLCHoklch(67.12% 0.208 305.6)
XYZxyz(41.4090, 27.1790, 92.6688)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF9 #AFF96B
analogous
#6E6BF9 #B56BF9 #F96BF6
triadic
#B56BF9 #F9B56B #6BF9B5
tetradic
#B56BF9 #F96E6B #AFF96B #6BF6F9
square
#B56BF9 #F96E6B #AFF96B #6BF6F9
split-complementary
#B56BF9 #F6F96B #6BF96E
monochromatic
#7909E0 #9830F7 #B56BF9 #D2A6FB #F0E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56BF9#FFFFFF#000000##000000
##B56BF91.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)
#318CFE
Deuteranopia (green-blind)
#508FF6
Tritanopia (blue-blind)
#AA87A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bf9;
/* rgb */ color: rgb(181, 107, 249);
/* oklch */ color: oklch(67.1% 0.208 305.6);
Tailwind
colors: {
  custom: {
    50: '#cf98fc',
    500: '#b56bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf9;
$custom-light: #cf98fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf9",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 271.268,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6712,
    "c": 0.20801,
    "h": 305.6
  },
  "luminance": 0.27179
}

Semantic roles & 50–950 ramp

primary
#B56BF9
secondary
#DFF4CC
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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