#B56BF5#B56BF5

#B56BF5 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.9% C 0.204 H 306.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B56BF5
RGBrgb(181, 107, 245)
HSLhsl(272, 87%, 69%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(26.1%, 56.3%, 0%, 3.9%)
CIE-LABlab(58.91, 54.26, -58.13)
CIE-LCHlch(58.91, 79.52, 313.02°)
OKLaboklab(66.88% 0.1209 -0.1638)
OKLCHoklch(66.88% 0.204 306.4)
XYZxyz(40.7917, 26.9321, 89.4180)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF5 #ABF56B
analogous
#706BF5 #B56BF5 #F56BF0
triadic
#B56BF5 #F5B56B #6BF5B5
tetradic
#B56BF5 #F5706B #ABF56B #6BF0F5
square
#B56BF5 #F5706B #ABF56B #6BF0F5
split-complementary
#B56BF5 #F0F56B #6BF570
monochromatic
#7A0FD7 #9832F1 #B56BF5 #D2A4F9 #EEDEFD

Accessibility & contrast

On white

3.29
#B56BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B56BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF5#FFFFFF#000000##000000
##B56BF51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BFA
Deuteranopia (green-blind)
#548EF2
Tritanopia (blue-blind)
#AB85A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bf5;
/* rgb */ color: rgb(181, 107, 245);
/* oklch */ color: oklch(66.9% 0.204 306.4);
Tailwind
colors: {
  custom: {
    50: '#cf98f9',
    500: '#b56bf5',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf5;
$custom-light: #cf98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf5",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 272.174,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.2036,
    "h": 306.4
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#B56BF5
secondary
#DCF2CA
accent
#E4026B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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