#B56DFD#B56DFD

#B56DFD is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.6% C 0.210 H 304.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B56DFD
RGBrgb(181, 109, 253)
HSLhsl(270, 97%, 71%)
HSVhsv(270, 57%, 99%)
CMYKcmyk(28.5%, 56.9%, 0%, 0.8%)
CIE-LABlab(59.76, 55.06, -61.21)
CIE-LCHlch(59.76, 82.33, 311.97°)
OKLaboklab(67.65% 0.1186 -0.1728)
OKLCHoklch(67.65% 0.21 304.5)
XYZxyz(42.2504, 27.8531, 96.0598)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DFD #B5FD6D
analogous
#6D6DFD #B56DFD #FD6DFD
triadic
#B56DFD #FDB56D #6DFDB5
tetradic
#B56DFD #FD6D6D #B5FD6D #6DFDFD
square
#B56DFD #FD6D6D #B5FD6D #6DFDFD
split-complementary
#B56DFD #FDFD6D #6DFD6D
monochromatic
#7803EC #9631FC #B56DFD #D4A9FE #F0E1FF

Accessibility & contrast

On white

3.20
#B56DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B56DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DFD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DFD#FFFFFF#000000##000000
##B56DFD1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#A889AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56dfd;
/* rgb */ color: rgb(181, 109, 253);
/* oklch */ color: oklch(67.6% 0.210 304.5);
Tailwind
colors: {
  custom: {
    50: '#cf9aff',
    500: '#b56dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b56dfd;
$custom-light: #cf9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dfd",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 270,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67645,
    "c": 0.20958,
    "h": 304.5
  },
  "luminance": 0.27853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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