#B56BF0#B56BF0

#B56BF0 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.6% C 0.198 H 307.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B56BF0
RGBrgb(181, 107, 240)
HSLhsl(273, 82%, 68%)
HSVhsv(273, 55%, 94%)
CMYKcmyk(24.6%, 55.4%, 0%, 5.9%)
CIE-LABlab(58.63, 53.13, -55.81)
CIE-LCHlch(58.63, 77.05, 313.59°)
OKLaboklab(66.58% 0.1207 -0.157)
OKLCHoklch(66.58% 0.198 307.6)
XYZxyz(40.0387, 26.6309, 85.4522)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF0 #A6F06B
analogous
#726BF0 #B56BF0 #F06BE9
triadic
#B56BF0 #F0B56B #6BF0B5
tetradic
#B56BF0 #F0726B #A6F06B #6BE9F0
square
#B56BF0 #F0726B #A6F06B #6BE9F0
split-complementary
#B56BF0 #E9F06B #6BF072
monochromatic
#7B15CC #9933EA #B56BF0 #D1A3F6 #EDDAFB

Accessibility & contrast

On white

3.32
#B56BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B56BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF0#FFFFFF#000000##000000
##B56BF01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#AC84A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56bf0;
/* rgb */ color: rgb(181, 107, 240);
/* oklch */ color: oklch(66.6% 0.198 307.6);
Tailwind
colors: {
  custom: {
    50: '#ce98f5',
    500: '#b56bf0',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf0;
$custom-light: #ce98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf0",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 273.383,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.19806,
    "h": 307.6
  },
  "luminance": 0.2663
}

Semantic roles & 50–950 ramp

primary
#B56BF0
secondary
#D9F0C7
accent
#DE0867
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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