#B56FFB#B56FFB

#B56FFB is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.8% C 0.204 H 304.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B56FFB
RGBrgb(181, 111, 251)
HSLhsl(270, 95%, 71%)
HSVhsv(270, 56%, 98%)
CMYKcmyk(27.9%, 55.8%, 0%, 1.6%)
CIE-LABlab(60.03, 53.57, -59.66)
CIE-LCHlch(60.03, 80.18, 311.92°)
OKLaboklab(67.81% 0.1161 -0.1683)
OKLCHoklch(67.81% 0.204 304.6)
XYZxyz(42.1493, 28.1579, 94.4626)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FFB #B5FB6F
analogous
#6F6FFB #B56FFB #FB6FFB
triadic
#B56FFB #FBB56F #6FFBB5
tetradic
#B56FFB #FB6F6F #B5FB6F #6FFBFB
square
#B56FFB #FB6F6F #B5FB6F #6FFBFB
split-complementary
#B56FFB #FBFB6F #6FFB6F
monochromatic
#7806E9 #9633F9 #B56FFB #D4ABFD #F0E1FE

Accessibility & contrast

On white

3.17
#B56FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B56FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FFB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FFB#FFFFFF#000000##000000
##B56FFB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#A98AAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b56ffb;
/* rgb */ color: rgb(181, 111, 251);
/* oklch */ color: oklch(67.8% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#cf9bfd',
    500: '#b56ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b56ffb;
$custom-light: #cf9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ffb",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6781,
    "c": 0.20445,
    "h": 304.6
  },
  "luminance": 0.28158
}

Semantic roles & 50–950 ramp

primary
#B56FFB
secondary
#E3F6D0
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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