#B56DF2#B56DF2

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

Color values

HEX#B56DF2
RGBrgb(181, 109, 242)
HSLhsl(272, 84%, 69%)
HSVhsv(272, 55%, 95%)
CMYKcmyk(25.2%, 55%, 0%, 5.1%)
CIE-LABlab(59.13, 52.55, -56.12)
CIE-LCHlch(59.13, 76.88, 313.12°)
OKLaboklab(66.99% 0.1183 -0.1579)
OKLCHoklch(66.99% 0.197 306.8)
XYZxyz(40.5484, 27.1723, 87.0958)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF2 #AAF26D
analogous
#736DF2 #B56DF2 #F26DED
triadic
#B56DF2 #F2B56D #6DF2B5
tetradic
#B56DF2 #F2736D #AAF26D #6DEDF2
square
#B56DF2 #F2736D #AAF26D #6DEDF2
split-complementary
#B56DF2 #EDF26D #6DF273
monochromatic
#7A13D2 #9935ED #B56DF2 #D1A5F7 #EEDDFC

Accessibility & contrast

On white

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

On black

6.43
#B56DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DF2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DF2#FFFFFF#000000##000000
##B56DF21.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#AB86A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56df2;
/* rgb */ color: rgb(181, 109, 242);
/* oklch */ color: oklch(67.0% 0.197 306.8);
Tailwind
colors: {
  custom: {
    50: '#ce99f7',
    500: '#b56df2',
    950: '#000000',
  },
}
SCSS
$custom: #b56df2;
$custom-light: #ce99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df2",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 272.481,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66988,
    "c": 0.19731,
    "h": 306.8
  },
  "luminance": 0.27172
}

Semantic roles & 50–950 ramp

primary
#B56DF2
secondary
#DCF1CA
accent
#E0056A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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