#B56DFF#B56DFF

#B56DFF is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.8% C 0.212 H 304.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B56DFF
RGBrgb(181, 109, 255)
HSLhsl(270, 100%, 71%)
HSVhsv(270, 57%, 100%)
CMYKcmyk(29%, 57.3%, 0%, 0%)
CIE-LABlab(59.87, 55.52, -62.12)
CIE-LCHlch(59.87, 83.32, 311.79°)
OKLaboklab(67.77% 0.1186 -0.1755)
OKLCHoklch(67.77% 0.212 304)
XYZxyz(42.5707, 27.9812, 97.7465)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DFF #B7FF6D
analogous
#6D6EFF #B56DFF #FE6DFF
triadic
#B56DFF #FFB56D #6DFFB5
tetradic
#B56DFF #FF6D6E #B7FF6D #6DFFFE
square
#B56DFF #FF6D6E #B7FF6D #6DFFFE
split-complementary
#B56DFF #FFFE6D #6EFF6D
monochromatic
#7700F2 #9630FF #B56DFF #D4AAFF #EFE0FF

Accessibility & contrast

On white

3.18
#B56DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B56DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DFF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DFF#FFFFFF#000000##000000
##B56DFF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#A88AAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56dff;
/* rgb */ color: rgb(181, 109, 255);
/* oklch */ color: oklch(67.8% 0.212 304.0);
Tailwind
colors: {
  custom: {
    50: '#cf9aff',
    500: '#b56dff',
    950: '#000000',
  },
}
SCSS
$custom: #b56dff;
$custom-light: #cf9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dff",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 269.589,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67767,
    "c": 0.21181,
    "h": 304
  },
  "luminance": 0.27981
}

Semantic roles & 50–950 ramp

primary
#B56DFF
secondary
#E4F7D1
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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