#B56DF1#B56DF1

#B56DF1 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.9% C 0.196 H 307.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B56DF1
RGBrgb(181, 109, 241)
HSLhsl(273, 83%, 69%)
HSVhsv(273, 55%, 95%)
CMYKcmyk(24.9%, 54.8%, 0%, 5.5%)
CIE-LABlab(59.08, 52.32, -55.65)
CIE-LCHlch(59.08, 76.38, 313.24°)
OKLaboklab(66.93% 0.1183 -0.1565)
OKLCHoklch(66.93% 0.196 307.1)
XYZxyz(40.3986, 27.1123, 86.3070)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF1 #A9F16D
analogous
#736DF1 #B56DF1 #F16DEB
triadic
#B56DF1 #F1B56D #6DF1B5
tetradic
#B56DF1 #F1736D #A9F16D #6DEBF1
square
#B56DF1 #F1736D #A9F16D #6DEBF1
split-complementary
#B56DF1 #EBF16D #6DF173
monochromatic
#7A14D0 #9935EC #B56DF1 #D1A5F6 #EEDDFC

Accessibility & contrast

On white

3.27
#B56DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B56DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF1#FFFFFF#000000##000000
##B56DF11.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF5
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#AC85A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56df1;
/* rgb */ color: rgb(181, 109, 241);
/* oklch */ color: oklch(66.9% 0.196 307.1);
Tailwind
colors: {
  custom: {
    50: '#ce99f6',
    500: '#b56df1',
    950: '#000000',
  },
}
SCSS
$custom: #b56df1;
$custom-light: #ce99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df1",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 272.727,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66929,
    "c": 0.1962,
    "h": 307.1
  },
  "luminance": 0.27112
}

Semantic roles & 50–950 ramp

primary
#B56DF1
secondary
#DBF1C9
accent
#DF0769
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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