#B56FF3#B56FF3

#B56FF3 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.3% C 0.195 H 306.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B56FF3
RGBrgb(181, 111, 243)
HSLhsl(272, 85%, 69%)
HSVhsv(272, 54%, 95%)
CMYKcmyk(25.5%, 54.3%, 0%, 4.7%)
CIE-LABlab(59.58, 51.74, -55.95)
CIE-LCHlch(59.58, 76.20, 312.76°)
OKLaboklab(67.34% 0.1158 -0.1574)
OKLCHoklch(67.34% 0.195 306.3)
XYZxyz(40.9148, 27.6641, 87.9609)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF3 #ADF36F
analogous
#736FF3 #B56FF3 #F36FEF
triadic
#B56FF3 #F3B56F #6FF3B5
tetradic
#B56FF3 #F3736F #ADF36F #6FEFF3
square
#B56FF3 #F3736F #ADF36F #6FEFF3
split-complementary
#B56FF3 #EFF36F #6FF373
monochromatic
#7A12D6 #9837EE #B56FF3 #D2A7F8 #EFE0FC

Accessibility & contrast

On white

3.21
#B56FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B56FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FF3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FF3#FFFFFF#000000##000000
##B56FF31.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF7
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#AB87A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ff3;
/* rgb */ color: rgb(181, 111, 243);
/* oklch */ color: oklch(67.3% 0.195 306.3);
Tailwind
colors: {
  custom: {
    50: '#ce9bf8',
    500: '#b56ff3',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff3;
$custom-light: #ce9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff3",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 271.818,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.19546,
    "h": 306.3
  },
  "luminance": 0.27664
}

Semantic roles & 50–950 ramp

primary
#B56FF3
secondary
#DEF2CC
accent
#E1046C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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