#B56DFC#B56DFC

#B56DFC is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.208 H 304.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B56DFC
RGBrgb(181, 109, 252)
HSLhsl(270, 96%, 71%)
HSVhsv(270, 57%, 99%)
CMYKcmyk(28.2%, 56.7%, 0%, 1.2%)
CIE-LABlab(59.70, 54.83, -60.75)
CIE-LCHlch(59.70, 81.83, 312.07°)
OKLaboklab(67.58% 0.1186 -0.1715)
OKLCHoklch(67.58% 0.208 304.7)
XYZxyz(42.0915, 27.7895, 95.2230)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DFC #B4FC6D
analogous
#6D6DFC #B56DFC #FC6DFB
triadic
#B56DFC #FCB56D #6DFCB5
tetradic
#B56DFC #FC6D6D #B4FC6D #6DFBFC
square
#B56DFC #FC6D6D #B4FC6D #6DFBFC
split-complementary
#B56DFC #FBFC6D #6DFC6D
monochromatic
#7805EA #9731FB #B56DFC #D3A9FD #F0E1FE

Accessibility & contrast

On white

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

On black

6.56
#B56DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DFC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DFC#FFFFFF#000000##000000
##B56DFC1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#A989AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56dfc;
/* rgb */ color: rgb(181, 109, 252);
/* oklch */ color: oklch(67.6% 0.208 304.7);
Tailwind
colors: {
  custom: {
    50: '#cf99fe',
    500: '#b56dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b56dfc;
$custom-light: #cf99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dfc",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 270.21,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.20847,
    "h": 304.7
  },
  "luminance": 0.27789
}

Semantic roles & 50–950 ramp

primary
#B56DFC
secondary
#E2F6CF
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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