#B56DF3#B56DF3

#B56DF3 is a light, vivid violet. Relative luminance 0.272; OKLCH L 67.0% C 0.198 H 306.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B56DF3
RGBrgb(181, 109, 243)
HSLhsl(272, 85%, 69%)
HSVhsv(272, 55%, 95%)
CMYKcmyk(25.5%, 55.1%, 0%, 4.7%)
CIE-LABlab(59.19, 52.77, -56.58)
CIE-LCHlch(59.19, 77.37, 313.01°)
OKLaboklab(67.05% 0.1183 -0.1593)
OKLCHoklch(67.05% 0.198 306.6)
XYZxyz(40.6990, 27.2325, 87.8890)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF3 #ABF36D
analogous
#726DF3 #B56DF3 #F36DEE
triadic
#B56DF3 #F3B56D #6DF3B5
tetradic
#B56DF3 #F3726D #ABF36D #6DEEF3
square
#B56DF3 #F3726D #ABF36D #6DEEF3
split-complementary
#B56DF3 #EEF36D #6DF372
monochromatic
#7A11D4 #9834EE #B56DF3 #D2A6F8 #EEDEFC

Accessibility & contrast

On white

3.26
#B56DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B56DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF3#FFFFFF#000000##000000
##B56DF31.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#AB86A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56df3;
/* rgb */ color: rgb(181, 109, 243);
/* oklch */ color: oklch(67.0% 0.198 306.6);
Tailwind
colors: {
  custom: {
    50: '#ce99f8',
    500: '#b56df3',
    950: '#000000',
  },
}
SCSS
$custom: #b56df3;
$custom-light: #ce99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df3",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 272.239,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.19843,
    "h": 306.6
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#B56DF3
secondary
#DCF2CA
accent
#E1046B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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